diff --git a/lib/mine/user_info_page.dart b/lib/mine/user_info_page.dart index fb3e9e73..9909161f 100644 --- a/lib/mine/user_info_page.dart +++ b/lib/mine/user_info_page.dart @@ -45,12 +45,12 @@ class _UserInfoPage extends State { print(value.getString('user')), user = UserInfo.fromJson(jsonDecode(value.getString('user'))), mobile = user?.phone ?? "", - modifyInfo["nickname"] = user?.nickname ?? "", + modifyInfo["nickname"] = user?.nickname ??"", modifyInfo["signature"] = user?.signature ?? "", modifyInfo["birth"] = user?.birth ?? "", modifyInfo["headimg"] = user?.headimg ?? "", modifyInfo["sex"] = user?.sex ?? "", - age = AppUtils.getAgeByString(user?.birth ?? ""), + age = AppUtils.getAgeByString(user ?.birth ?? ""), refresh(), apiService = ApiService(Dio(), context: context, token: value.getString('token')),