fix(web): fix issue of tags component flickering when fisrt paint night theme bookshelf

This commit is contained in:
Xwite committed 2024-10-03 09:20:40 +08:00
1 parent f048952d73
commit caeb54e213
5 files changed
+43 -40

No files matched your search

+3 -1
View File
@@ -6,6 +6,8 @@ import "element-plus/theme-chalk/dark/css-vars.css"
createApp(App).use(store).use(router).mount("#app");
//读取阅读界面设置
useBookStore().loadReadConfig();
// 书架 同步Element PLUS 夜间模式
watch(
() => useBookStore().isNight,
@@ -16,4 +18,4 @@ watch(
document.documentElement.classList.remove("dark");
}
}
)
)