[FIX] 修改页面返回刷新

This commit is contained in:
wangmingzhe
2019-12-24 19:43:03 +08:00
parent 80bcfa2f9b
commit 764ec44f07
2 changed files with 12 additions and 12 deletions

View File

@@ -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' //是否返回后刷新01
}
})
this.$jump({
flag: 'navigation',
extra: {
@@ -393,12 +399,6 @@ export default {
hiddenRight: '1'
}
})
this.$jump({
flag: 'goBack',
extra: {
refresh: '1' //是否返回后刷新01
}
})
if (this.currentPopupIndex == 1) {
this.customerShowPicker = false
} else if (this.currentPopupIndex == 2) {

View File

@@ -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'
},