产品库增加企微端登录,登录修复

This commit is contained in:
aixianling
2022-06-13 20:24:30 +08:00
parent 92a520f46e
commit 0c39d469c1

View File

@@ -87,11 +87,13 @@ export default {
} }
let {code} = this.$route.query let {code} = this.$route.query
this.getToken({code}).then(token => { this.getToken({code}).then(token => {
if (token) {
this.login(token) this.login(token)
if (module != 'AppCountryAlbum') { if (module != 'AppCountryAlbum') {
this.getAccount({module}) this.getAccount({module})
} }
this.target ? uni.reLaunch({url: this.target}) : uni.navigateBack({}) this.target ? uni.reLaunch({url: this.target}) : uni.navigateBack({})
}
}).catch(err => { }).catch(err => {
this.err = err this.err = err
}) })