pull/2/head
xiaozhiyong 2 years ago
parent df5a31f55a
commit c943ba57c0
  1. 2
      BagAuth/pages/login/login.vue
  2. 15
      BagAuth/pages/login/oldLogin.vue

@ -225,7 +225,7 @@
},
refuseEmpower() {
uni.navigateTo({
url: '/BagAuth/pages/login/oldLogin'
url: `/BagAuth/pages/login/oldLogin?scanningParams=${this.scanningParams}`
})
},

@ -171,7 +171,14 @@
count: 0,
loginRes: {},
checked: false,
next: false
next: false,
scanningParams:null
}
},
onLoad(option) {
if(options.scanningParams) {
//
this.scanningParams = options.scanningParams
}
},
onShow() {},
@ -402,6 +409,12 @@
icon: 'none'
})
}, 1000);
if(this.scanningParams) {
uni.redirectTo({
url: `/BagStation/pages/stationDetail/stationDetail?q=${this.scanningParams}`
})
return
}
//
uni.switchTab({
url: '/pages/tabbar/home/home'

Loading…
Cancel
Save