From dd1747733e341e639458442612a914b30e7a1dd7 Mon Sep 17 00:00:00 2001 From: yuweiqi Date: Fri, 13 Mar 2020 22:28:09 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=E7=94=B5=E6=8A=95=E4=BC=98=E5=8C=96-?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E8=BF=94=E5=9B=9E=E9=A6=96=E9=A1=B5?= =?UTF-8?q?-=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/List.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/ebiz/sale/List.vue b/src/views/ebiz/sale/List.vue index 2f87b0af3..90ccaaf38 100644 --- a/src/views/ebiz/sale/List.vue +++ b/src/views/ebiz/sale/List.vue @@ -176,22 +176,22 @@ export default { } }, mounted() { - // setTimeout(() => { - // EWebBridge.webCallAppInJs('webview_left_button', { - // intercept: '1' //是否拦截原生返回事件 1是 其他否 - // }) - // }, 100) - // window.appCallBack = this.appCallBack + setTimeout(() => { + EWebBridge.webCallAppInJs('webview_left_button', { + intercept: '1' //是否拦截原生返回事件 1是 其他否 + }) + }, 100) + window.appCallBack = this.appCallBack this.loadMore() }, methods: { - // appCallBack(data) { - // if (data.trigger == 'left_button_click') { - // this.$jump({ - // flag: 'home' - // }) - // } - // }, + appCallBack(data) { + if (data.trigger == 'left_button_click') { + this.$jump({ + flag: 'home' + }) + } + }, //分页用 loadMore() { let pageInfo = {