From d67ed6ce743a9ab3337121dec4359b0f57a34330 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 7 May 2024 11:19:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B7=AF=E7=94=B1=E5=8F=98=E5=8A=A8?= =?UTF-8?q?=EF=BC=8C=E5=B0=86=E6=97=A5=E5=BF=97=E8=AF=A6=E6=83=85=E6=8F=90?= =?UTF-8?q?=E5=88=B0enm=5Fbase=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/route.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/config/route.js b/src/config/route.js index 3bf60ab7..23b87b33 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -10,7 +10,8 @@ const routes = [ "meta": { "title": "工作台", "icon": "el-icon-home-filled", - "type": "menu" + "type": "menu", + "perms": ["home"] }, "children": [ //首页 @@ -290,16 +291,6 @@ const routes = [ }, "component": "enm_rm/handoverLog" }, - { - "name": "logDetail", - "path": "/enm_rm/logDetail", - "meta": { - "title": "日志详情", - "icon": "el-icon-document-copy", - "hidden": true - }, - "component": "enm_rm/logDetail" - }, ] }, //原料磨——基础 @@ -2367,6 +2358,16 @@ const routes = [ }, "component": "enm_base/material" }, + { + "name": "logDetail", + "path": "/enm_rm/logDetail", + "meta": { + "title": "日志详情", + "icon": "el-icon-document-copy", + "hidden": true + }, + "component": "enm_rm/logDetail" + }, { "name": "formula", "path": "/enm_base/formula",