From 44d836cc795a5b249e7845259eb46f47a4d02fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Wed, 31 Aug 2022 14:55:43 +0800 Subject: [PATCH] =?UTF-8?q?router=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/route.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/route.js b/src/config/route.js index cee2d38c..63ccf894 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -195,6 +195,7 @@ const routes = [ "meta": { "title": "我创建的", "icon": "el-icon-folder-add", + "perms": ["ownerwork"] }, "component": "wf/ownerwork" } @@ -206,6 +207,7 @@ const routes = [ "meta": { "title": "待办工单", "icon": "el-icon-folder-opened", + "perms": ["duty"] }, "component": "wf/dutywork" }, @@ -215,6 +217,7 @@ const routes = [ "meta": { "title": "我处理的", "icon": "el-icon-expand", + "perms": ["worked"] }, "component": "wf/worked" }, @@ -224,6 +227,7 @@ const routes = [ "meta": { "title": "抄送我的", "icon": "el-icon-edit-pen", + "perms": ["ccwork"] }, "component": "wf/ccwork" },