perf(projects): perf code

This commit is contained in:
Soybean
2023-11-18 00:36:10 +08:00
parent 96e4aff5c8
commit 8081e19ebc
2 changed files with 5 additions and 6 deletions

View File

@ -25,7 +25,6 @@ export const useThemeStore = defineStore(SetupStoreId.Theme, () => {
if (settings.value.themeScheme === 'auto') {
return osTheme.value === 'dark';
}
return settings.value.themeScheme === 'dark';
});