[FIX]【卡单】支付页-销毁时拦截原生返回事件,进行回调

This commit is contained in:
yuweiqi
2020-04-26 16:42:06 +08:00
parent 641c5836a5
commit 4dd34f1d36

View File

@@ -229,9 +229,10 @@ export default {
destroyed() {
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '0' //是否拦截原生返回事件 1是 其他否
})
// EWebBridge.webCallAppInJs('webview_left_button', {
// intercept: '0' //是否拦截原生返回事件 1是 其他否
// })
window.appCallBack = this.appCallBack
}, 100)
},
methods: {