修改组件中store的调用方式

This commit is contained in:
wzy-warehouse
2026-05-07 13:11:18 +08:00
parent ee0d2971d2
commit ce6200389c
+3 -1
View File
@@ -13,10 +13,12 @@
text: '正在加载配置相关资源中...', text: '正在加载配置相关资源中...',
}; };
const statusStore = useStatusStore();
let loadingInstanve = ElLoading.service(loadingOption); let loadingInstanve = ElLoading.service(loadingOption);
watch( watch(
() => useStatusStore().appLoadingCompleted, () => statusStore.appLoadingCompleted,
(val) => { (val) => {
if (val) { if (val) {
loadingInstanve.close(); loadingInstanve.close();