diff --git a/src/pinia/UserStore/index.js b/src/pinia/UserStore/index.js index 628903a..0a33588 100644 --- a/src/pinia/UserStore/index.js +++ b/src/pinia/UserStore/index.js @@ -3,6 +3,7 @@ import {ref} from "vue"; import {useSystemStore} from "../SystemStore/index.js"; import Api from "../../api/index.js"; import {toPath} from "../../utils/index.js"; +import Qiniu from "@/utils/Qiniu.js"; export const useUserStore = defineStore("UserStore", () => { const isLogin = ref(false); @@ -36,6 +37,7 @@ export const useUserStore = defineStore("UserStore", () => { // // 获取并安装路由 const {setRouter} = useSystemStore(); await setRouter(isRoot); + await Qiniu.getInstance(); // // 跳转 toPath('/home'); } diff --git a/stats.html b/stats.html index 605556d..3684b9f 100644 --- a/stats.html +++ b/stats.html @@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {