🦄 refactor(store): setup 写法

(cherry picked from commit ada9ac3d88237e3c3ea9b0cbd8e070c33fe5b927)
This commit is contained in:
BTMuli
2023-04-06 16:22:03 +08:00
parent 0cdf2c80b9
commit 3001e40d4d
12 changed files with 229 additions and 247 deletions

View File

@@ -50,7 +50,7 @@
import { ref, onMounted } from "vue";
import { useRouter } from "vue-router";
// store
import useHomeStore from "../store/modules/home";
import { useHomeStore } from "../store/modules/home";
// utils
import { createTGWindow } from "../utils/TGWindow";
// plugins

View File

@@ -111,7 +111,7 @@
// vue
import { computed, ref } from "vue";
// store
import useAppStore from "../store/modules/app";
import { useAppStore } from "../store/modules/app";
const appStore = useAppStore();