style: 对商品管理页面进行名称样式修改
This commit is contained in:
+12
-11
@@ -224,7 +224,7 @@ const routes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
// 商品管理路由
|
||||
// 商品管理路由(已合并商品列表和商品分组到统一树形视图)
|
||||
{
|
||||
path: 'product',
|
||||
name: 'Product',
|
||||
@@ -232,23 +232,24 @@ const routes = [
|
||||
title: '商品管理',
|
||||
icon: 'Goods'
|
||||
},
|
||||
redirect: '/product/list',
|
||||
redirect: '/product/manage',
|
||||
children: [
|
||||
{
|
||||
path: 'list',
|
||||
name: 'ProductList',
|
||||
component: () => import('../views/product/ProductList.vue'),
|
||||
path: 'manage',
|
||||
name: 'ProductManage',
|
||||
component: () => import('../views/product/ProductGroup.vue'),
|
||||
meta: {
|
||||
title: '商品列表'
|
||||
title: '商品管理'
|
||||
}
|
||||
},
|
||||
{
|
||||
// 保留旧路由兼容,重定向到新路由
|
||||
path: 'list',
|
||||
redirect: '/product/manage'
|
||||
},
|
||||
{
|
||||
path: 'group',
|
||||
name: 'ProductGroup',
|
||||
component: () => import('../views/product/ProductGroup.vue'),
|
||||
meta: {
|
||||
title: '商品分组'
|
||||
}
|
||||
redirect: '/product/manage'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user