mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 03:56:44 +08:00
我的页面和服务页面跳转方式修改
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user