This commit is contained in:
xiaozhiyong
2023-03-24 13:08:51 +08:00
parent 176e09a530
commit 21fca7a4b7
2 changed files with 11 additions and 32 deletions

View File

@@ -316,10 +316,10 @@
},
goBack() {
// this.innerAudioContext.stop()
uni.switchTab({
url: '/pages/tabbar/home/home'
});
let scanningParams = uni.getStorageSync('scanningParams')
scanningParams
? uni.switchTab({url: '/pages/tabbar/home/home'})
: uni.navigateBack() ;
},
selectRadio() {
this.radio === 'A' ? this.radio = '' : this.radio = 'A'