隐患点

This commit is contained in:
wzy-warehouse
2026-04-11 10:09:40 +08:00
parent de01e88642
commit e17a73537c
29 changed files with 573 additions and 25 deletions
+14 -1
View File
@@ -2,8 +2,21 @@
<RouterView></RouterView>
</template>
<script setup lang="ts" name="App">
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { ElLoading } from 'element-plus'
import { watch } from 'vue';
import { useViewerStore } from './stores/useViewerStore';
const loadingInstanve = ElLoading.service({
fullscreen: true,
text: '正在加载配置相关资源中...'
})
watch(() => useViewerStore().getViewerLoadingCompleted(), (val) => {
if (val == true) {
loadingInstanve.close()
}
})
</script>
<style>