From 284ae5b9ff466a9b0cd6be7eed2aefa765feee6f Mon Sep 17 00:00:00 2001
From: cqf <2252655793@qq.com>
Date: Thu, 26 May 2022 13:43:28 +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