鸿蒙智能电子锁前端项目
whychdw
2024-10-09 1f14aca3e26ea960b8d20bb83d81c31339b7f48c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const Layout = () => import('@/layout/index.vue');
 
const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: 'noRedirect',
  name: 'System',
  meta: {
    title: '系统管理',
    icon: 'sys-hdw'
  },
  children: [
    {
      path: 'region',
      component: () => import('@/views/system/region/index.vue'),
      name: 'RegionManage',
      meta: { title: '区域管理', icon: 'tree', noCache: false }
    },
    {
      path: 'user',
      component: () => import('@/views/system/user/index.vue'),
      name: 'UserManage',
      meta: { title: '用户管理', icon: 'people', noCache: false }
    }
  ]
};
 
export default systemRouter;