产品库增加企微端登录,登录修复
This commit is contained in:
@@ -87,11 +87,13 @@ export default {
|
||||
}
|
||||
let {code} = this.$route.query
|
||||
this.getToken({code}).then(token => {
|
||||
this.login(token)
|
||||
if (module != 'AppCountryAlbum') {
|
||||
this.getAccount({module})
|
||||
if (token) {
|
||||
this.login(token)
|
||||
if (module != 'AppCountryAlbum') {
|
||||
this.getAccount({module})
|
||||
}
|
||||
this.target ? uni.reLaunch({url: this.target}) : uni.navigateBack({})
|
||||
}
|
||||
this.target ? uni.reLaunch({url: this.target}) : uni.navigateBack({})
|
||||
}).catch(err => {
|
||||
this.err = err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user