优化代码

This commit is contained in:
wuxw 2024-11-04 17:57:13 +08:00
parent 4182b3ebd6
commit 3a76409221

View File

@ -183,6 +183,7 @@ export function loginByOpenId(openId) {
uni.setStorageSync("currentCommunityInfo", { uni.setStorageSync("currentCommunityInfo", {
communityId: _json.data.communityId, communityId: _json.data.communityId,
communityName: _json.data.communityName, communityName: _json.data.communityName,
sCommunityTel:_json.data.communityTel
}); });
uni.removeStorageSync("ownerInfo"); uni.removeStorageSync("ownerInfo");
saveUserLoginInfo(_json.data.userId, _json.data.token, _json.data.key); saveUserLoginInfo(_json.data.userId, _json.data.token, _json.data.key);