更新
This commit is contained in:
@@ -225,7 +225,7 @@
|
|||||||
},
|
},
|
||||||
refuseEmpower() {
|
refuseEmpower() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/BagAuth/pages/login/oldLogin'
|
url: `/BagAuth/pages/login/oldLogin?scanningParams=${this.scanningParams}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -171,7 +171,14 @@
|
|||||||
count: 0,
|
count: 0,
|
||||||
loginRes: {},
|
loginRes: {},
|
||||||
checked: false,
|
checked: false,
|
||||||
next: false
|
next: false,
|
||||||
|
scanningParams:null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(option) {
|
||||||
|
if(options.scanningParams) {
|
||||||
|
// 用于扫码进入油站详情页面
|
||||||
|
this.scanningParams = options.scanningParams
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {},
|
onShow() {},
|
||||||
@@ -402,6 +409,12 @@
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
if(this.scanningParams) {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: `/BagStation/pages/stationDetail/stationDetail?q=${this.scanningParams}`
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
// 这里有问题
|
// 这里有问题
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/tabbar/home/home'
|
url: '/pages/tabbar/home/home'
|
||||||
|
|||||||
Reference in New Issue
Block a user