mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 01:36:43 +08:00
我的页面和服务页面跳转方式修改
This commit is contained in:
@@ -149,7 +149,16 @@ export default {
|
|||||||
},
|
},
|
||||||
pageJump(data){
|
pageJump(data){
|
||||||
if(data.name != '设置'){
|
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{
|
}else{
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'setting'
|
flag: 'setting'
|
||||||
|
|||||||
@@ -132,7 +132,18 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
pageJump(data){
|
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