diff --git a/src/views/ebiz/proposal/List.vue b/src/views/ebiz/proposal/List.vue index f98990778..e06fab055 100644 --- a/src/views/ebiz/proposal/List.vue +++ b/src/views/ebiz/proposal/List.vue @@ -111,11 +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 }, mounted() { this.loadMore() }, methods: { + 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/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index 8f00dd6f1..393f02b7c 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -514,7 +514,6 @@ export default { extra: { title: '建议书列表', forbidSwipeBack: 1, //当前页面禁止右滑返回 - backToFirst: 1, url: location.origin + `/#/proposal/list` }, routerInfo: {