Commit 1344f209 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents e6f84cd3 17db8a33
......@@ -11,7 +11,7 @@ class LoginStore implements ILoginModule {
@observable public password: string = "123456";
@observable public res: object = {};
@observable public userInfo = getAuth();
@observable public avatar = this.userInfo.logo;
@observable public avatar = this.userInfo?.logo;
// 可以改变对应的状态值
// @todo 接入更新用户信息接口
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment