refactor: 重构工作台

This commit is contained in:
2024-10-20 15:03:34 +08:00
parent ae08678fa1
commit 7970940f50
17 changed files with 518 additions and 744 deletions

View File

@@ -1,5 +1,5 @@
<template>
<a-layout class="layout layout-default">
<a-layout class="layout layout-default" :class="{ mobile: isMobile }">
<Asider></Asider>
<a-layout class="layout-default-right">
<Header></Header>
@@ -17,9 +17,11 @@ import Main from './components/Main.vue'
import Tabs from './components/Tabs/index.vue'
import GiFooter from '@/components/GiFooter/index.vue'
import { useAppStore } from '@/stores'
import { useDevice } from '@/hooks'
defineOptions({ name: 'LayoutDefault' })
const appStore = useAppStore()
const { isMobile } = useDevice()
</script>
<style lang="scss" scoped>