mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 21:52:53 +08:00
[FIX] 修改页面返回刷新
This commit is contained in:
@@ -330,9 +330,9 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
// EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
// intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
// })
|
||||
window.appCallBack = this.appCallBack
|
||||
if (localStorage.applicant == '1' || localStorage.relationToAppnt == '1') {
|
||||
this.Insured = true
|
||||
@@ -386,6 +386,12 @@ export default {
|
||||
// })
|
||||
// },
|
||||
appCallBack() {
|
||||
this.$jump({
|
||||
flag: 'goBack',
|
||||
extra: {
|
||||
refresh: '1' //是否返回后刷新0:否,1:是
|
||||
}
|
||||
})
|
||||
this.$jump({
|
||||
flag: 'navigation',
|
||||
extra: {
|
||||
@@ -393,12 +399,6 @@ export default {
|
||||
hiddenRight: '1'
|
||||
}
|
||||
})
|
||||
this.$jump({
|
||||
flag: 'goBack',
|
||||
extra: {
|
||||
refresh: '1' //是否返回后刷新0:否,1:是
|
||||
}
|
||||
})
|
||||
if (this.currentPopupIndex == 1) {
|
||||
this.customerShowPicker = false
|
||||
} else if (this.currentPopupIndex == 2) {
|
||||
|
||||
@@ -95,9 +95,9 @@ export default {
|
||||
this.insuredPerson = JSON.parse(localStorage.saleInsuredPersonInfo).name
|
||||
},
|
||||
mounted() {
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
// EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
// intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
// })
|
||||
window.appCallBack = this.appCallBack
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user