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: '手机端扫码上传',