mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
improve: 移动端图片上传路由处理
This commit is contained in:
parent
dcd0b80b8d
commit
80101af87c
@ -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()
|
||||
|
||||
@ -169,7 +169,7 @@ export default [
|
||||
},
|
||||
{
|
||||
path: '/app/upload',
|
||||
name: `${pre}app-mobile_upload`,
|
||||
name: `mobile_upload`,
|
||||
meta: {
|
||||
auth: true,
|
||||
title: '手机端扫码上传',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user