Commit 25fd8d2b by xinla

Merge branch 'develop'

2 parents d58767bb 3f1c5a41
...@@ -30,46 +30,46 @@ import visitor from '@/layout/visitor' ...@@ -30,46 +30,46 @@ import visitor from '@/layout/visitor'
} }
*/ */
// 开发路由,总后台配置完菜单务必删除,只在开发环境生效 // 开发路由,总后台配置完菜单务必删除或注释,只在开发环境生效
const devRoutes = [ const devRoutes = [
{ // {
path: '/smartForms', // path: '/smartForms',
component: Layout, // component: Layout,
hidden: true, // hidden: true,
meta: { // meta: {
title: '商品中心', // title: '商品中心',
}, // },
children: [ // children: [
{ // {
path: 'list', // path: 'list',
component: (resolve) => require(['@/views/drainageCode/smartForms/index'], resolve), // component: (resolve) => require(['@/views/drainageCode/smartForms/index'], resolve),
meta: { // meta: {
title: '商品管理', // title: '商品管理',
activeMenu: '/commodityCenter/commodityManage', // activeMenu: '/commodityCenter/commodityManage',
breadcrumb: true, // breadcrumb: true,
}, // },
}, // },
{ // {
path: 'add', // path: 'add',
component: (resolve) => require(['@/views/drainageCode/smartForms/add'], resolve), // component: (resolve) => require(['@/views/drainageCode/smartForms/add'], resolve),
meta: { // meta: {
title: '商品管理', // title: '商品管理',
activeMenu: '/commodityCenter/commodityManage', // activeMenu: '/commodityCenter/commodityManage',
breadcrumb: true, // breadcrumb: true,
}, // },
}, // },
{ // {
path: 'smartFormStatistics', // path: 'smartFormStatistics',
component: (resolve) => // component: (resolve) =>
require(['@/views/drainageCode/smartForms/statistics/index'], resolve), // require(['@/views/drainageCode/smartForms/statistics/index'], resolve),
meta: { // meta: {
title: '商品管理', // title: '商品管理',
activeMenu: '/commodityCenter/commodityManage', // activeMenu: '/commodityCenter/commodityManage',
breadcrumb: true, // breadcrumb: true,
}, // },
}, // },
], // ],
}, // },
{ {
path: '/commodityCenter', path: '/commodityCenter',
component: Layout, component: Layout,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!