@@ -20,7 +20,7 @@ const { wsCache } = useCache()
|
|||||||
|
|
||||||
// 根据浏览器当前主题设置系统主题色
|
// 根据浏览器当前主题设置系统主题色
|
||||||
const setDefaultTheme = () => {
|
const setDefaultTheme = () => {
|
||||||
if (wsCache.get('isDark')) {
|
if (wsCache.get('isDark') !== null) {
|
||||||
appStore.setIsDark(wsCache.get('isDark'))
|
appStore.setIsDark(wsCache.get('isDark'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user