Files
pqs-9100_client/frontend/src/views/home/index.vue

22 lines
504 B
Vue
Raw Normal View History

2024-08-22 16:36:00 +08:00
<template>
2025-10-14 19:00:47 +08:00
<div class="homeView">
<model v-if="!authStore.showMenuFlag"></model>
<dashboard v-if="authStore.showMenuFlag"></dashboard>
2024-08-23 13:19:20 +08:00
</div>
2024-08-22 16:36:00 +08:00
</template>
<script lang="ts" setup>
2025-10-14 19:00:47 +08:00
import { useAuthStore } from '@/stores/modules/auth'
2024-11-14 18:26:34 +08:00
2025-10-14 19:00:47 +08:00
import model from './tabs/model.vue'
import dashboard from './tabs/dashboard.vue'
2024-12-17 11:34:54 +08:00
2025-10-14 19:00:47 +08:00
const authStore = useAuthStore()
2024-08-22 16:36:00 +08:00
</script>
2024-08-23 13:19:20 +08:00
<style lang="scss" scoped>
2025-10-14 19:00:47 +08:00
.homeView {
width: 100%;
// height: calc(100vh - 120px);
height: 100%;
2024-08-23 13:19:20 +08:00
}
</style>