Files
FiDA_Front/src/App.vue

33 lines
650 B
Vue
Raw Normal View History

2026-02-02 13:32:33 +08:00
<template>
<RouteCache />
<div id="loading" v-if="loading" v-loading="true"></div>
</template>
<script setup lang="ts">
import RouteCache from '@/components/RouteCache.vue'
import { computed } from 'vue'
import { useGlobalStore } from '@/stores'
const globalStore = useGlobalStore()
const loading = computed(() => globalStore.state.loading)
</script>
<style lang="less">
2026-02-03 11:24:47 +08:00
2026-02-02 13:32:33 +08:00
#app {
font-size: 1.6rem;
}
#loading {
position: fixed;
z-index: 999999999;
top: 0;
left: 0;
width: 100%;
height: 100%;
// background-color: rgba(0, 0, 0, 0.3);
// display: flex;
// align-items: center;
// justify-content: center;
}
</style>