From ef0557c5f82dab3acddcccc74cc9ad2625114169 Mon Sep 17 00:00:00 2001 From: "tian.guangyuan" Date: Tue, 7 Apr 2020 14:16:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=20=E5=9B=A0=20nbs=20?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E9=A1=B5=E9=9D=A2=20=E5=B7=A6=E4=B8=8A?= =?UTF-8?q?=E8=A7=92=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=20=E3=80=82=20=E7=94=B1=20=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=20=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80=E9=A1=B5=20=20?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=B8=BA=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=A4?= =?UTF-8?q?=E9=A1=B5=EF=BC=8C=E8=BF=94=E5=9B=9E=E5=8A=9F=E8=83=BD=E5=9C=A8?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=83=85=E5=86=B5=E4=B8=8B=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=88=B0=E9=A6=96=E9=A1=B5=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=AF=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/nbs/Nav.vue | 4 ++-- src/views/ebiz/nbs/Result.vue | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/ebiz/nbs/Nav.vue b/src/views/ebiz/nbs/Nav.vue index 1af49205c..075e3f790 100644 --- a/src/views/ebiz/nbs/Nav.vue +++ b/src/views/ebiz/nbs/Nav.vue @@ -120,10 +120,10 @@ export default { this.$jump({ flag: 'h5', extra: { - url: location.origin + `/#/nbs/result/${id}/${this.half}/02` + url: location.origin + `/#/nbs/result/${id}/${this.half}/02?back=2` }, routerInfo: { - path: `/nbs/result/${id}/${this.half}/02` + path: `/nbs/result/${id}/${this.half}/02?back=2` } }) } else { diff --git a/src/views/ebiz/nbs/Result.vue b/src/views/ebiz/nbs/Result.vue index 0a4d36106..a994b1b08 100644 --- a/src/views/ebiz/nbs/Result.vue +++ b/src/views/ebiz/nbs/Result.vue @@ -35,13 +35,17 @@ export default { }, methods: { appCallBack(data) { + let backIndex = '-1' + if(this.$route.query.back){ + backIndex = '-2' + } if (data.trigger == 'left_button_click') { // eslint-disable-next-line no-undef this.$jump({ flag: 'goBack', extra: { refresh: '1', - index: '-2' + index: backIndex }, routerInfo: { path: `/nbs/list`