diff --git a/src/App.vue b/src/App.vue index d3699f4..4f2c49f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,10 +13,12 @@ text: '正在加载配置相关资源中...', }; + const statusStore = useStatusStore(); + let loadingInstanve = ElLoading.service(loadingOption); watch( - () => useStatusStore().appLoadingCompleted, + () => statusStore.appLoadingCompleted, (val) => { if (val) { loadingInstanve.close();