Merge branch 'hotfix/nbs-返回结果页按钮功能变更' into release/0407

This commit is contained in:
tian.guangyuan
2020-04-07 14:21:26 +08:00
2 changed files with 7 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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`