浏览代码

修复个人信息

tags/0.0.1
Weller 4 年前
父节点
当前提交
90ca63244a
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      lib/models/user/user_info_model_notifier.dart

+ 4
- 1
lib/models/user/user_info_model_notifier.dart 查看文件

@@ -16,7 +16,10 @@ class UserInfoNotifier with ChangeNotifier {
UserInfoModel get userInfo {
if (null == _userInfo) {
getUserInfoModel().then((user) {
if (user != null) notifyListeners();
if (user != null) {
_userInfo = user;
notifyListeners();
}
});
}
return _userInfo;


正在加载...
取消
保存