吴健
3 天以前 105d6b807d69eb95b3426f5cf6e87a8ff7b0611c
billion-ui/src/router/index.js
@@ -62,9 +62,9 @@
    hidden: true
  },
  {
    path: '/',
    path: '',
    component: Layout,
    redirect: '/index',
    redirect: 'index',
    children: [
      {
        path: 'index',
@@ -89,24 +89,24 @@
    ]
  },
  // 样机标签打印路由
  {
    path: '/main/bq',
    component: Layout,
    children: [
      {
        path: 'prototypeLabelPrinting',
        component: () => import('@/views/main/bq/prototypeLabelPrinting'),
        name: 'PrototypeLabelPrinting',
        meta: { title: '样机标签打印', icon: 'printer' }
      }
    ]
  },
  // {
  //   path: '/main/bq',
  //   component: Layout,
  //   children: [
  //     {
  //       path: 'prototypeLabelPrinting',
  //       component: () => import('@/views/main/bq/prototypeLabelPrinting'),
  //       name: 'PrototypeLabelPrinting',
  //       meta: { title: '样机标签打印', icon: 'printer' }
  //     }
  //   ]
  // },
  // 匹配所有路径
  {
    path: '*',
    redirect: '/404',
    hidden: true
  }
  // {
  //   path: '*',
  //   redirect: '/404',
  //   hidden: true
  // }
]
// 动态路由,基于用户权限动态去加载