mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 17:46:44 +08:00
[FIX]【卡单】支付页-销毁时拦截原生返回事件
This commit is contained in:
@@ -226,15 +226,15 @@ export default {
|
|||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
next()
|
next()
|
||||||
},
|
},
|
||||||
// destroyed() {
|
destroyed() {
|
||||||
// setTimeout(() => {
|
setTimeout(() => {
|
||||||
// // eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
// EWebBridge.webCallAppInJs('webview_left_button', {
|
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||||
// intercept: '1' //是否拦截原生返回事件 1是 其他否
|
intercept: '0' //是否拦截原生返回事件 1是 其他否
|
||||||
// })
|
})
|
||||||
// window.appCallBack = this.appCallBack
|
// window.appCallBack = this.appCallBack
|
||||||
// }, 100)
|
}, 100)
|
||||||
// },
|
},
|
||||||
methods: {
|
methods: {
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
|
|||||||
Reference in New Issue
Block a user