diff --git a/src/App.vue b/src/App.vue index 11dea8b..5db2eb7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,11 +3,15 @@ import {onMounted} from "vue"; import {useSystemStore} from "./pinia/SystemStore/index.js"; import {useRoute} from "vue-router"; import {toPath} from "./utils/index.js"; +import {useUserStore} from "./pinia/UserStore/index.js"; +import Qiniu from "./utils/Qiniu.js"; const SystemStore = useSystemStore(); +const UserStore = useUserStore(); const route = useRoute(); onMounted(() => { + if (UserStore.isLogin) Qiniu.getInstance(); const isRoot = SystemStore.isRoot; if (window.location.href.indexOf('/manage-materials') < 0) { SystemStore.clearRouter().then(() => { diff --git a/stats.html b/stats.html index 4688938..605556d 100644 --- a/stats.html +++ b/stats.html @@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {