From 51a8a0d89b315239d1395333bcdadd52a1f8e8f8 Mon Sep 17 00:00:00 2001 From: "tian.guangyuan" Date: Mon, 1 Jun 2020 11:31:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=20=E5=B0=9D=E8=AF=95?= =?UTF-8?q?=E9=80=9A=E8=BF=87=20=E4=B8=8D=E7=9B=91=E5=90=AC=E5=8E=9F?= =?UTF-8?q?=E7=94=9F=E8=BF=94=E5=9B=9E=E3=80=82=20=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E5=BB=BA=E8=AE=AE=E4=B9=A6=20=E5=92=8C=20=E7=94=B5=E5=AD=90?= =?UTF-8?q?=E6=8A=95=E4=BF=9D=E7=9A=84=20=E9=94=99=E8=AF=AF=E8=BF=94?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/proposal/List.vue | 30 +++++++++++++++--------------- src/views/ebiz/sale/List.vue | 26 +++++++++++++------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/views/ebiz/proposal/List.vue b/src/views/ebiz/proposal/List.vue index e06fab055..15dd5e67b 100644 --- a/src/views/ebiz/proposal/List.vue +++ b/src/views/ebiz/proposal/List.vue @@ -111,26 +111,26 @@ export default { }, created() { // document.body.style.backgroundColor = '#F5F5F5' - setTimeout(() => { - // eslint-disable-next-line no-undef - EWebBridge.webCallAppInJs('webview_left_button', { - intercept: '1' //是否拦截原生返回事件 1是 其他否 - }) - }, 100) - window.appCallBack = this.appCallBack + // setTimeout(() => { + // // eslint-disable-next-line no-undef + // EWebBridge.webCallAppInJs('webview_left_button', { + // intercept: '1' //是否拦截原生返回事件 1是 其他否 + // }) + // }, 100) + // window.appCallBack = this.appCallBack }, mounted() { this.loadMore() }, methods: { - appCallBack(data) { - if (data.trigger == 'left_button_click') { - this.$jump({ - flag: 'home', - extra: {} - }) - } - }, + // appCallBack(data) { + // if (data.trigger == 'left_button_click') { + // this.$jump({ + // flag: 'home', + // extra: {} + // }) + // } + // }, //获取建议书列表 getProposalList(tabType, pageInfo) { let status = '0' + tabType diff --git a/src/views/ebiz/sale/List.vue b/src/views/ebiz/sale/List.vue index 4f01402d4..0a3d809ef 100644 --- a/src/views/ebiz/sale/List.vue +++ b/src/views/ebiz/sale/List.vue @@ -192,22 +192,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 = {