diff --git a/src/views/YB_APP/mine.vue b/src/views/YB_APP/mine.vue index a5c1b9f1d..0e1b64f0f 100644 --- a/src/views/YB_APP/mine.vue +++ b/src/views/YB_APP/mine.vue @@ -149,7 +149,16 @@ export default { }, pageJump(data){ if(data.name != '设置'){ - window.location.href = data.route + let thisRoute = data.route.slice(data.route.lastIndexOf("/#")+2) + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#'+ thisRoute, + }, + routerInfo: { + path: thisRoute, + }, + }) }else{ this.$jump({ flag: 'setting' diff --git a/src/views/YB_APP/service.vue b/src/views/YB_APP/service.vue index dba4fe9a1..c8c9ea483 100644 --- a/src/views/YB_APP/service.vue +++ b/src/views/YB_APP/service.vue @@ -132,7 +132,18 @@ export default { }) }, pageJump(data){ - window.location.href = data.route + let thisRoute = data.route.slice(data.route.lastIndexOf("/#")+2) + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#'+ thisRoute, + }, + routerInfo: { + path: thisRoute, + }, + }) + + // window.location.href = data.route }, }, }