This commit is contained in:
X1627315083@163.com
2026-04-23 14:30:09 +08:00
parent 45298e5f23
commit 66b019eb2a
6 changed files with 57 additions and 12 deletions

View File

@@ -3,6 +3,7 @@
<div class="view" ref="viewRef" :style="viewStyle"><RouteCache /></div>
<login-dialog />
<div id="loading" v-if="loading" v-loading="true"></div>
<shopping-drawer />
</template>
<script setup lang="ts">
@@ -11,6 +12,7 @@
import MainHeader from '@/views/main-header.vue'
import LoginDialog from '@/views/login/login-dialog.vue'
import { useGlobalStore } from '@/stores'
import ShoppingDrawer from '@/views/shopping-drawer.vue'
const globalStore = useGlobalStore()
const loading = computed(() => globalStore.state.loading)
const viewRef = ref()