|
@@ -53,7 +53,7 @@ initLocalData() async { |
|
|
|
|
|
|
|
|
var localUserId = prefs.getInt(Constants.LocalUserId);
|
|
|
var localUserId = prefs.getInt(Constants.LocalUserId);
|
|
|
if (localUserId != null) {
|
|
|
if (localUserId != null) {
|
|
|
print('用户不为空');
|
|
|
|
|
|
|
|
|
print('aaaaa用户不为空');
|
|
|
//设置用户基本信息
|
|
|
//设置用户基本信息
|
|
|
UserData().basicInfo.userId = localUserId;
|
|
|
UserData().basicInfo.userId = localUserId;
|
|
|
String localUserData = await SPUtils.get(Constants.LocalUsrInfo);
|
|
|
String localUserData = await SPUtils.get(Constants.LocalUsrInfo);
|
|
|