From 80101af87cee676bbdf73b9823f4f53000991e2b Mon Sep 17 00:00:00 2001 From: From-wh Date: Thu, 15 Jun 2023 15:39:54 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E4=B8=8A=E4=BC=A0=E8=B7=AF=E7=94=B1=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/router/index.js | 3 +-- template/admin/src/router/modules/frameOut.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/template/admin/src/router/index.js b/template/admin/src/router/index.js index b74fbc4cf..c41d36ed9 100644 --- a/template/admin/src/router/index.js +++ b/template/admin/src/router/index.js @@ -95,8 +95,7 @@ export function delayNProgressDone(time = 300) { router.beforeEach(async (to, from, next) => { // PrevLoading.start(); keepAliveSplice(to); - - if (to.fullPath.indexOf('kefu') != -1) { + if (to.fullPath.indexOf('kefu') != -1 || to.name == 'mobile_upload') { return next(); } // if (Setting.showProgressBar) iView.LoadingBar.start() diff --git a/template/admin/src/router/modules/frameOut.js b/template/admin/src/router/modules/frameOut.js index 6507b32f3..e0b239f42 100644 --- a/template/admin/src/router/modules/frameOut.js +++ b/template/admin/src/router/modules/frameOut.js @@ -169,7 +169,7 @@ export default [ }, { path: '/app/upload', - name: `${pre}app-mobile_upload`, + name: `mobile_upload`, meta: { auth: true, title: '手机端扫码上传',