张卓
2022-09-20 5aead44ba1be31db948dfd8362c2bfcbedbbce29
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
import MainLayout from '@/layout/main/MainLayout.vue';
 
const router = {
    path: '',
    component: MainLayout,
    redirect: '/workplace',
    name: '/',
    meta: {
        title: '工作台',
        icon: 'dashboard',
    },
    children: [
    {
      path: '/workplace',
      name: '/workplace',
      routerGuard: true,
      component: () => import(/* webpackChunkName: "dashboard" */ '@/views/dashboard/Workplace.vue'),
      meta: {
        title: '工作台',
        routerGuard: true,
        i18n: `menu.dashboard.workplace`,
      },
    }],
  };
 
export default router;