mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 18:36:43 +08:00
Merge branch 'hotfix/nbs-返回结果页按钮功能变更' into release/0407
This commit is contained in:
@@ -120,10 +120,10 @@ export default {
|
|||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
url: location.origin + `/#/nbs/result/${id}/${this.half}/02`
|
url: location.origin + `/#/nbs/result/${id}/${this.half}/02?back=2`
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: `/nbs/result/${id}/${this.half}/02`
|
path: `/nbs/result/${id}/${this.half}/02?back=2`
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -35,13 +35,17 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
appCallBack(data) {
|
appCallBack(data) {
|
||||||
|
let backIndex = '-1'
|
||||||
|
if(this.$route.query.back){
|
||||||
|
backIndex = '-2'
|
||||||
|
}
|
||||||
if (data.trigger == 'left_button_click') {
|
if (data.trigger == 'left_button_click') {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
this.$jump({
|
this.$jump({
|
||||||
flag: 'goBack',
|
flag: 'goBack',
|
||||||
extra: {
|
extra: {
|
||||||
refresh: '1',
|
refresh: '1',
|
||||||
index: '-2'
|
index: backIndex
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: `/nbs/list`
|
path: `/nbs/list`
|
||||||
|
|||||||
Reference in New Issue
Block a user