diff --git a/src/components/setting/SettingDrawer.vue b/src/components/setting/SettingDrawer.vue index bf4b361..11c4b11 100644 --- a/src/components/setting/SettingDrawer.vue +++ b/src/components/setting/SettingDrawer.vue @@ -26,7 +26,7 @@ - + @@ -201,8 +201,12 @@ if (this.multipage !== config.multipage) { this.$store.dispatch('ToggleMultipage', this.multipage) } + this.initData(); }, methods: { + initData(){ + this.$store.dispatch('ToggleTheme', 'dark') + }, showDrawer() { this.visible = true },