refactor(projects): 代码优化

ISSUES CLOSED: \
This commit is contained in:
Soybean
2022-05-18 23:43:41 +08:00
parent 4b80a66114
commit 44ab55d594
8 changed files with 5 additions and 108 deletions

View File

@ -53,7 +53,7 @@ export default function subscribeThemeStore() {
osTheme,
newValue => {
const isDark = newValue === 'dark';
theme.autoFollowSystemMode(isDark);
theme.setAutoFollowSystemMode(isDark);
},
{ immediate: true }
);