测试拦截原生按钮

This commit is contained in:
mengxiaolong
2020-08-03 10:22:19 +08:00
parent 889edfe289
commit 886f9024b5

View File

@@ -245,6 +245,8 @@ export default {
this.getQuestionDetail() this.getQuestionDetail()
}, },
mounted() { mounted() {
setTimeout(() => {
// 右上角的显示
window.EWebBridge.webCallAppInJs('webview_right_button', { window.EWebBridge.webCallAppInJs('webview_right_button', {
btns: [ btns: [
{ {
@@ -252,6 +254,7 @@ export default {
} }
] ]
}) })
}, 1000)
window['appCallBack'] = this.appCallBack window['appCallBack'] = this.appCallBack
} }
} }