产品库增加企微端登录,登录修复
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user