From 3d5cc34ad6e69be337399cb128199d236e7ea08e Mon Sep 17 00:00:00 2001 From: cqf <2252655793@qq.com> Date: 星期二, 24 五月 2022 17:51:16 +0800 Subject: [PATCH] 隐患图表接口对接 --- src/permission.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/permission.js b/src/permission.js index cf64c18..c46a1f0 100644 --- a/src/permission.js +++ b/src/permission.js @@ -16,8 +16,7 @@ if (!permissionRoles) return true return roles.some(role => permissionRoles.indexOf(role) >= 0) } - -const whiteList = ['/login', '/auth-redirect','/agreement','/register','/productionEquipment','/instrumentData','/oneFromanother','/Issuedbysuperiors'] // no redirect whitelist +const whiteList = ['/login', '/auth-redirect','/agreement','/register','/productionEquipment','/instrumentData','/oneFromanother','/hiddenDangerTroubleshootingList','/preview','/inspectionNotExist','/send','/Issuedbysuperiors','/oneFromanotherN','/summaryPotentialSafetyHzards','/safetyHazardAccount','/superiorsSend','/accountSend','/existN','/exist','/hazardSource','/safetyedit','/Dualbase','/supervision','/inferOtherThings','/DualbaseLost','/summaryList','/summaryForm','/chartAnalysis','/careabout','/troubleshooting','/managementConcerns']// no redirect whitelist router.beforeEach((to, from, next) => { NProgress.start() // start progress bar -- Gitblit v1.9.2