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