edit
This commit is contained in:
@ -135,8 +135,8 @@ export class EAUserService extends BaseService {
|
|||||||
*/
|
*/
|
||||||
async loadUserInfo() {
|
async loadUserInfo() {
|
||||||
return this.asyncRequest(this.$api_get_user_by_token).then(res => {
|
return this.asyncRequest(this.$api_get_user_by_token).then(res => {
|
||||||
this.cacheSrv.set(cacheConf.user, res.data);
|
this.cacheSrv.set(cacheConf.user, res);
|
||||||
this.settings.setUser(res.data);
|
this.settings.setUser(res);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user