fix(web): fix issue of tags component flickering when fisrt paint night theme bookshelf
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user