修改菜单逻辑.

This commit is contained in:
lijiahang
2023-08-02 17:08:40 +08:00
parent 4322f01354
commit 7915198be4
16 changed files with 230 additions and 94 deletions

View File

@@ -3,11 +3,12 @@ import { AppRouteRecordRaw } from '../types';
const DASHBOARD: AppRouteRecordRaw = {
name: 'dashboard',
path: '/dashboard',
component: DEFAULT_LAYOUT,
children: [
{
path: '/dashboard/workplace',
name: 'workplace',
path: '/dashboard/workplace',
component: () => import('@/views/dashboard/workplace/index.vue'),
},
],

View File

@@ -3,6 +3,7 @@ import { AppRouteRecordRaw } from '../types';
const USER: AppRouteRecordRaw = {
name: 'user',
path: '/user',
component: DEFAULT_LAYOUT,
children: [
{
@@ -14,6 +15,9 @@ const USER: AppRouteRecordRaw = {
path: '/user/userChild2',
name: 'userChild2',
component: () => import('@/views/user/child2/index.vue'),
meta: {
noAffix: true
}
},
],
};