添加显示隐藏状态控制

This commit is contained in:
wzy-warehouse
2026-04-14 08:59:05 +08:00
parent 61725b8b1e
commit 2a3256fa17
14 changed files with 267 additions and 59 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
import { RouterView } from 'vue-router';
import { ElLoading } from 'element-plus';
import { watch } from 'vue';
import { useViewerStore } from './stores/useViewerStore';
import { useStatusStore } from './stores/useStatusStore';
const loadingOption = {
fullscreen: true,
@@ -16,7 +16,7 @@
let loadingInstanve = ElLoading.service(loadingOption);
watch(
() => useViewerStore().getViewerLoadingCompleted(),
() => useStatusStore().getAppLoadingCompleted(),
(val) => {
if (val) {
loadingInstanve.close();