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

This commit is contained in:
Xwite
2024-10-03 09:20:40 +08:00
parent 7911bbaf58
commit 8c268e4f59
5 changed files with 43 additions and 40 deletions
+2
View File
@@ -6,6 +6,8 @@ import "element-plus/theme-chalk/dark/css-vars.css";
createApp(App).use(store).use(bookRouter).mount("#app");
//读取阅读界面设置
useBookStore().loadReadConfig();
// 同步Element PLUS 夜间模式
watch(
() => useBookStore().isNight,