diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index ea547c028..d90a1d2ce 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -322,6 +322,7 @@ "useTinyEditorStore": true, "useToolsStore": true, "useUserStore": true, - "useSettingStore": true + "useSettingStore": true, + "useGlobalStore": true } } diff --git a/src/App.vue b/src/App.vue index 3dcfa9767..e16d636b0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,7 @@ type="primary" class="dark-mode-trigger" circle - @click="useStyleStore().toggleTheme" + @click="useGlobalStore().toggleTheme" >