From 92ff846fb659c62037a32b1d8c15eae9df9d9b54 Mon Sep 17 00:00:00 2001 From: zenglf <18502938215@163.com> Date: 星期一, 18 九月 2023 13:24:30 +0800 Subject: [PATCH] Merge branch 'develop' of http://117.34.109.166:18448/r/vue_mdc_430 --- src/permission.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/permission.js b/src/permission.js index 1db065d..8a7e72c 100644 --- a/src/permission.js +++ b/src/permission.js @@ -13,6 +13,16 @@ whiteList.push(OAUTH2_LOGIN_PAGE_PATH) router.beforeEach((to, from, next) => { + //update-begin---author:scott ---date:2022-10-13 for锛歔jeecg-boot/issues/4091]澶氱骇璺敱缂撳瓨闂 #4091----------- + //瑙e喅涓夌骇鑿滃崟鏃犳硶缂撳瓨闂 + //鍙傝�冿細 https://blog.csdn.net/qq_37322135/article/details/126013301 + //鍙傝�冿細 https://blog.csdn.net/cwin8951/article/details/106644118 + if (to.matched && to.matched.length>3) { + to.matched.splice(2, to.matched.length - 3) + } + //update-end---author:scott ---date::2022-10-13 for锛歔jeecg-boot/issues/4091]澶氱骇璺敱缂撳瓨闂 #4091-------------- + + NProgress.start() // start progress bar if (Vue.ls.get(ACCESS_TOKEN)) { -- Gitblit v1.9.3