diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index c1a933d2..13cbb47b 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -473,8 +473,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: '模板装修', noCache: true, hidden: true, - // TODO @疯狂:建议 menu 那的 /mall/promotion/diy-template/diy-template 改成 /mall/promotion/diy/template - activeMenu: '/mall/promotion/diy-template/diy-template' + activeMenu: '/mall/promotion/diy/template' }, component: () => import('@/views/mall/promotion/diy/template/decorate.vue') }, @@ -485,8 +484,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: '页面装修', noCache: true, hidden: true, - // TODO @疯狂:建议 menu 那的 /mall/promotion/diy-template/diy-page 改成 /mall/promotion/diy/page - activeMenu: '/mall/promotion/diy-template/diy-page' + activeMenu: '/mall/promotion/diy/page' }, component: () => import('@/views/mall/promotion/diy/page/decorate.vue') } @@ -518,6 +516,17 @@ const remainingRouter: AppRouteRecordRaw[] = [ hidden: true }, component: () => import('@/views/crm/contact/detail/index.vue') + }, + { + path: 'product/detail/:id', + name: 'CrmProductDetail', + meta: { + title: '产品详情', + noCache: true, + hidden: true, + activeMenu: '/crm/product' + }, + component: () => import('@/views/crm/product/detail/index.vue') } ] }