From 7a93b2f491766f86860e44294f705f5bcbb6e2c4 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Thu, 26 Feb 2026 10:01:01 +0800 Subject: [PATCH] =?UTF-8?q?removal(router):=20=E5=88=A0=E9=99=A4MES?= =?UTF-8?q?=E6=B7=B7=E5=90=88=E8=BF=BD=E6=BA=AF=E7=9B=B8=E5=85=B3=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除轮胎全程追溯页面路由 (/mes/mixTrace/show/tire1) - 移除轮胎详情页面路由 (/mes/mixTrace/show/tire2) - 移除正向追溯页面路由 (/mes/mixTrace/show/forward1) - 清理相关组件导入和菜单配置 - 更新路由表结构以保持一致性 --- src/router/index.ts | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 71d78ce..ed9887c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -268,45 +268,7 @@ export const constantRoutes: RouteRecordRaw[] = [ } ] }, - { - path: '/mes/mixTrace/show/tire1', - component: Layout, - hidden: true, - children: [ - { - path: '', - component: () => import('@/views/mes/mixTrace/show/tire1.vue'), - name: 'MixTraceTire1', - meta: { title: '轮胎全程追溯', activeMenu: '/mes/mixTrace/show', noCache: true } - } - ] - }, - { - path: '/mes/mixTrace/show/tire2', - component: Layout, - hidden: true, - children: [ - { - path: '', - component: () => import('@/views/mes/mixTrace/show/tire2.vue'), - name: 'MixTraceTire2', - meta: { title: '轮胎详情', activeMenu: '/mes/mixTrace/show/tire1', noCache: true } - } - ] - }, - { - path: '/mes/mixTrace/show/forward1', - component: Layout, - hidden: true, - children: [ - { - path: '', - component: () => import('@/views/mes/mixTrace/show/forward1.vue'), - name: 'MixTraceForward1', - meta: { title: '正向追溯', activeMenu: '/mes/mixTrace/show', noCache: true } - } - ] - } + ]; // 动态路由,基于用户权限动态去加载