测试拦截原生按钮

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

View File

@@ -245,13 +245,16 @@ export default {
this.getQuestionDetail()
},
mounted() {
window.EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/share@3x.png'
}
]
})
setTimeout(() => {
// 右上角的显示
window.EWebBridge.webCallAppInJs('webview_right_button', {
btns: [
{
img: this.$assetsUrl + 'images/share@3x.png'
}
]
})
}, 1000)
window['appCallBack'] = this.appCallBack
}
}