push有问题

This commit is contained in:
妖姐 2024-01-27 02:09:02 +08:00
parent 49d259ee05
commit e413e3d902
4 changed files with 7 additions and 4 deletions

View File

@ -42,3 +42,5 @@
</style> </style>
<script setup> <script setup>
</script> </script>

View File

@ -28,6 +28,7 @@ function getItem(label, key, icon, children, type) {
} }
const items = reactive([ const items = reactive([
getItem('首页', 'sub1'),
getItem('系统管理', 'sub1', () => h(MailOutlined), [ getItem('系统管理', 'sub1', () => h(MailOutlined), [
getItem('用户管理', '1'), getItem('用户管理', '1'),
getItem('角色管理', '2'), getItem('角色管理', '2'),

View File

@ -1,3 +1,3 @@
<template> <template>
用户管理
</template> </template>

View File

@ -1,6 +1,6 @@
<template style="display: flex;flex-direction: column;"> <template style="display: flex;flex-direction: column;">
<Header></Header> <Header></Header>
<MainSection></MainSection> <MainSection></MainSection>
</template> </template>
<script setup> <script setup>
import Header from "@/Manager/Header.vue"; import Header from "@/Manager/Header.vue";