mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
[fix] 对 ios 特别处理, 电子保单列表、建议书列表、nbs列表 的返回功能
This commit is contained in:
@@ -86,12 +86,15 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
// eslint-disable-next-line no-undef
|
if(JSON.parse(localStorage.device).source == "ios"){
|
||||||
EWebBridge.webCallAppInJs('webview_closed',{})
|
this.$jump({
|
||||||
// return
|
flag: 'service'
|
||||||
// this.$jump({
|
})
|
||||||
// flag: 'home'
|
return
|
||||||
// })
|
}
|
||||||
|
this.$jump({
|
||||||
|
flag: 'home'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
|
|||||||
@@ -125,12 +125,15 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
// eslint-disable-next-line no-undef
|
if(JSON.parse(localStorage.device).source == "ios"){
|
||||||
EWebBridge.webCallAppInJs('webview_closed',{})
|
this.$jump({
|
||||||
// this.$jump({
|
flag: 'service'
|
||||||
// flag: 'home',
|
})
|
||||||
// extra: {}
|
return
|
||||||
// })
|
}
|
||||||
|
this.$jump({
|
||||||
|
flag: 'home'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//获取建议书列表
|
//获取建议书列表
|
||||||
|
|||||||
@@ -203,11 +203,16 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
// eslint-disable-next-line no-undef
|
if(JSON.parse(localStorage.device).source == "ios"){
|
||||||
EWebBridge.webCallAppInJs('webview_closed',{})
|
this.$jump({
|
||||||
// this.$jump({
|
flag: 'service'
|
||||||
// flag: 'home'
|
})
|
||||||
// })
|
return
|
||||||
|
}
|
||||||
|
return
|
||||||
|
this.$jump({
|
||||||
|
flag: 'home'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//分页用
|
//分页用
|
||||||
|
|||||||
Reference in New Issue
Block a user