1
This commit is contained in:
@@ -132,7 +132,7 @@ export default {
|
||||
try {
|
||||
const response = await getKdocsTokenStatus(this.userId)
|
||||
if (response.code === 200) {
|
||||
this.isAuthorized = response.data.hasToken && response.data.isValid
|
||||
this.isAuthorized = !!response.data.hasToken
|
||||
if (this.isAuthorized) {
|
||||
this.loadUserInfo()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user