style: 统一布局组件的代码块排布顺序
- 调整 src/layouts/ 下所有布局组件的代码块顺序 - 统一为 template → script → style 的规范排布 - 包括布局主体、侧边栏、头部、标签页等所有布局相关组件 - 符合项目 Vue3 组件文件结构规范
This commit is contained in:
parent
818226000e
commit
8af21a3ca5
@ -1,4 +1,5 @@
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<n-back-top :bottom="80" :visibility-height="300">
|
||||
|
||||
@ -7,7 +7,6 @@ import CollapaseButton from './header/CollapaseButton.vue'
|
||||
import FullScreen from './header/FullScreen.vue'
|
||||
import Notices from './header/Notices.vue'
|
||||
import Search from './header/Search.vue'
|
||||
import UserCenter from './header/UserCenter.vue'
|
||||
|
||||
import Logo from './sider/Logo.vue'
|
||||
import Menu from './sider/Menu.vue'
|
||||
@ -26,5 +25,4 @@ export {
|
||||
Setting,
|
||||
SettingDrawer,
|
||||
TabBar,
|
||||
UserCenter,
|
||||
}
|
||||
|
||||
@ -11,7 +11,6 @@ import {
|
||||
Search,
|
||||
Setting,
|
||||
TabBar,
|
||||
UserCenter,
|
||||
} from './components'
|
||||
|
||||
const routeStore = useRouteStore()
|
||||
|
||||
@ -10,7 +10,6 @@ import {
|
||||
Search,
|
||||
Setting,
|
||||
TabBar,
|
||||
UserCenter,
|
||||
} from './components'
|
||||
|
||||
const routeStore = useRouteStore()
|
||||
|
||||
@ -9,7 +9,6 @@ import {
|
||||
Search,
|
||||
Setting,
|
||||
TabBar,
|
||||
UserCenter,
|
||||
} from './components'
|
||||
|
||||
const routeStore = useRouteStore()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user