@@ -229,10 +229,13 @@ export default {
//this.information()
},
mounted() {
- EWebBridge.webCallAppInJs('webview_left_button', {
- img: this.$assetsUrl + 'images/del-close@3x.png',
- intercept: '1' //是否拦截原生返回事件 1是 其他否
- })
+ setTimeout(() => {
+ EWebBridge.webCallAppInJs('webview_left_button', {
+ img: this.$assetsUrl + 'images/del-close@3x.png',
+ intercept: '1' //是否拦截原生返回事件 1是 其他否
+ })
+ }, 100)
+ window.appCallBack = this.appCallBack
document.body.style.backgroundColor = '#F5F5F5'
if (!this.$route.query.edit) {
//如果不是编辑/导航条跳转进来的