修改组件中store的调用方式
This commit is contained in:
+3
-1
@@ -13,10 +13,12 @@
|
||||
text: '正在加载配置相关资源中...',
|
||||
};
|
||||
|
||||
const statusStore = useStatusStore();
|
||||
|
||||
let loadingInstanve = ElLoading.service(loadingOption);
|
||||
|
||||
watch(
|
||||
() => useStatusStore().appLoadingCompleted,
|
||||
() => statusStore.appLoadingCompleted,
|
||||
(val) => {
|
||||
if (val) {
|
||||
loadingInstanve.close();
|
||||
|
||||
Reference in New Issue
Block a user