优化客户电话不显示bug

This commit is contained in:
wuxw 2024-08-03 10:46:19 +08:00
parent 616b8d997a
commit b1bf62fab8
2 changed files with 4 additions and 2 deletions

View File

@ -125,7 +125,7 @@ export function getCurCommunity() {
if (!_currentCommunityInfo) { if (!_currentCommunityInfo) {
_currentCommunityInfo = { _currentCommunityInfo = {
communityId: conf.DEFAULT_COMMUNITY_ID, communityId: conf.DEFAULT_COMMUNITY_ID,
communityName: conf.DEFAULT_COMMUNITY_NAME communityName: conf.DEFAULT_COMMUNITY_NAME,
} }
} }
resolve(_currentCommunityInfo); resolve(_currentCommunityInfo);

View File

@ -91,7 +91,9 @@ export function hasAuthOwner(_that) {
wx.setStorageSync(mapping.OWNER_INFO, _ownerInfo); wx.setStorageSync(mapping.OWNER_INFO, _ownerInfo);
let _currentCommunityInfo = { let _currentCommunityInfo = {
communityId: _ownerInfo.communityId, communityId: _ownerInfo.communityId,
communityName: _ownerInfo.communityName communityName: _ownerInfo.communityName,
communityTel: _ownerInfo.communityTel
}; };
wx.setStorageSync(mapping.CURRENT_COMMUNITY_INFO, _currentCommunityInfo); wx.setStorageSync(mapping.CURRENT_COMMUNITY_INFO, _currentCommunityInfo);
resolve(_ownerInfo); resolve(_ownerInfo);