Browse Source

取消主题颜色根据当前浏览器主题颜色设置

master
陈薪名 1 year ago
parent
commit
4f1fee4e5f
  1. 3
      src/App.vue

3
src/App.vue

@ -16,7 +16,8 @@ const { wsCache } = useCache()
//
const setDefaultTheme = () => {
let isDarkTheme = wsCache.get(CACHE_KEY.IS_DARK)
// let isDarkTheme = wsCache.get(CACHE_KEY.IS_DARK)
let isDarkTheme = false
if (isDarkTheme === null) {
isDarkTheme = isDark()
}

Loading…
Cancel
Save