From a144a18ab582fd3a8c945cba60bc364dbe7f31e8 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 28 三月 2024 16:59:55 +0800 Subject: [PATCH] 1、新增点击设备运行状态图标跳转至设备监控页面并根据状态及当前层级筛选页面对应数据 2、新增点击设备利用率的横向柱状图跳转至统计分析页面并根据所点击层级筛选页面对应数据 3、解决router.push以及router.replace跳转后报错 --- 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