feat:【antd】【mall】diy 主页面的迁移
This commit is contained in:
@@ -71,6 +71,40 @@ const routes: RouteRecordRaw[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/diy',
|
||||
name: 'DiyCenter',
|
||||
meta: {
|
||||
title: '营销中心',
|
||||
icon: 'lucide:shopping-bag',
|
||||
keepAlive: true,
|
||||
hideInMenu: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: String.raw`template/decorate/:id(\d+)`,
|
||||
name: 'DiyTemplateDecorate',
|
||||
meta: {
|
||||
title: '模板装修',
|
||||
activePath: '/mall/promotion/diy-template/diy-template',
|
||||
},
|
||||
component: () =>
|
||||
import('#/views/mall/promotion/diy/template/decorate/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'page/decorate/:id',
|
||||
name: 'DiyPageDecorate',
|
||||
meta: {
|
||||
title: '页面装修',
|
||||
noCache: false,
|
||||
hidden: true,
|
||||
activePath: '/mall/promotion/diy-template/diy-page',
|
||||
},
|
||||
component: () =>
|
||||
import('#/views/mall/promotion/diy/page/decorate/index.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
|
||||
Reference in New Issue
Block a user