From 6c33f9c50792c03e55549f82c17405552ecff540 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 08 二月 2023 17:18:09 +0800 Subject: [PATCH] IFME主题切换效果优化,角色管理,资源管理主题切换界面优化 --- src/router/index.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ee33df1..66b4e9a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,7 +49,7 @@ //鍖呬簩 import WareInspection from '@/views/PackageTwo/WareInspection.vue'; //鏁版嵁璐ㄦ-鍏ュ簱璐ㄦ - +import QualityInspection from '@/views/PackageTwo/index.vue'; //鏁版嵁璐ㄦ-鍏ュ簱璐ㄦ const originalPush = VueRouter.prototype.push; VueRouter.prototype.push = function push(location) { @@ -69,7 +69,7 @@ path: '/Thematic', name: 'Thematic', component: Thematic, - + }, { path: '/', @@ -81,6 +81,15 @@ path: '/WareInspection', component: WareInspection, name: 'WareInspection', + meta: { + title: '鍏ュ簱璐ㄦ', + requireAuth: true, // 鏍囪瘑璇ヨ矾鐢辨槸鍚﹂渶瑕佺櫥褰� + }, + }, + { + path: '/QualityInspection', + component: QualityInspection, + name: 'QualityInspection', meta: { title: '鍏ュ簱璐ㄦ', requireAuth: true, // 鏍囪瘑璇ヨ矾鐢辨槸鍚﹂渶瑕佺櫥褰� @@ -131,7 +140,7 @@ requireAuth: true, // 鏍囪瘑璇ヨ矾鐢辨槸鍚﹂渶瑕佺櫥褰� }, }, - + { path: '/Archive', name: 'Archive', -- Gitblit v1.9.3