src/permission.js
@@ -15,6 +15,7 @@ "/register", "/wt", "/xj", "/SfRelay", "/sf", "/satisfaction", "/loginSSO", @@ -58,8 +59,9 @@ } console.log(processedPath, "处理后的路径"); console.log(whiteList.indexOf(processedPath), 11); if (whiteList.indexOf(processedPath) !== -1) { if (whiteList.indexOf(processedPath) != -1) { // 在免登录白名单,直接进入 // 如果路径被修改了,需要重定向 if (processedPath !== to.path) {