feat: 内容管理
This commit is contained in:
@@ -34,35 +34,26 @@ export default [
|
||||
path: '/',
|
||||
redirect: '/welcome',
|
||||
},
|
||||
{
|
||||
path: '/trade',
|
||||
name: '交易管理',
|
||||
routes: [
|
||||
{
|
||||
name: '订单管理',
|
||||
path: '/trade/order',
|
||||
component: './trade/order/index',
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// path: "/trade",
|
||||
// name: "交易管理",
|
||||
// routes: [
|
||||
// {
|
||||
// name: "订单管理",
|
||||
// path: "/trade/order",
|
||||
// component: "./trade/order/index",
|
||||
// },
|
||||
// ],
|
||||
|
||||
// },
|
||||
{
|
||||
path: '/prod1',
|
||||
name: '商品管理1',
|
||||
path: '/ai1',
|
||||
name: 'AI1',
|
||||
routes: [
|
||||
{
|
||||
path: '', // 空路径,匹配 /prod
|
||||
redirect: 'list', // 相对路径重定向
|
||||
},
|
||||
{
|
||||
name: '商品1',
|
||||
path: '/prod1/list',
|
||||
component: './prod/list/index',
|
||||
},
|
||||
{
|
||||
name: '类目管理',
|
||||
path: '/prod1/category',
|
||||
component: './prod/category/index',
|
||||
name: 'ai样本',
|
||||
path: '/ai1/tag',
|
||||
component: './ai/sample-tag',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -77,6 +68,26 @@ export default [
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// path: "/prod1",
|
||||
// name: "商品管理2",
|
||||
// routes: [
|
||||
// // { index: true, component: "./prod/list/index" },
|
||||
// {
|
||||
// name: "商品管理",
|
||||
// path: "list",
|
||||
// component: "./prod/list/index",
|
||||
// routes: [
|
||||
// {
|
||||
// name: "类目管理",
|
||||
// path: "detail",
|
||||
// component: "./prod/category/index",
|
||||
// hideInMenu: true,
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
component: '404',
|
||||
layout: false,
|
||||
|
||||
Reference in New Issue
Block a user