同步代码
This commit is contained in:
@@ -211,14 +211,43 @@ export const dynamicRoutes = [
|
||||
permissions: ["tool:gen:edit"],
|
||||
children: [
|
||||
{
|
||||
path: "index/:tableId(\\d+)",
|
||||
component: () => import("@/views/tool/gen/editTable"),
|
||||
name: "GenEdit",
|
||||
meta: { title: "修改生成配置", activeMenu: "/tool/gen" },
|
||||
},
|
||||
],
|
||||
path: 'index/:tableId(\\d+)',
|
||||
component: () => import('@/views/tool/gen/editTable'),
|
||||
name: 'GenEdit',
|
||||
meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
|
||||
}
|
||||
]
|
||||
},
|
||||
];
|
||||
{
|
||||
path: '/mes/qc/pendinginspect/add',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['mes:qc:pending'],
|
||||
children: [
|
||||
{
|
||||
path: 'iqc',
|
||||
component: () => import('@/views/mes/qc/iqc/iqc'),
|
||||
name: 'iqcadd',
|
||||
props: true,
|
||||
meta: {title: '来料检验', activeMenu: '/mes/qc/pendinginspect/iqc'}
|
||||
},
|
||||
{
|
||||
path: 'pqc',
|
||||
component: () => import('@/views/mes/qc/pendinginspect/pqc'),
|
||||
name: 'pqcadd',
|
||||
props: true,
|
||||
meta: {title: '过程检验', activeMenu: '/mes/qc/pendinginspect/pqc'}
|
||||
},
|
||||
{
|
||||
path: 'oqc',
|
||||
component: () => import('@/views/mes/qc/oqc/index'),
|
||||
name: 'oqcadd',
|
||||
props: true,
|
||||
meta: {title: '出厂检验', activeMenu: '/mes/qc/pendinginspect/oqc'}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
// 防止连续点击多次路由报错
|
||||
let routerPush = Router.prototype.push;
|
||||
|
||||
Reference in New Issue
Block a user