修改删除小区之后我的小区页面不同步更新的bug

This commit is contained in:
赵毅 2025-09-15 16:01:00 +08:00
parent 35cab6537a
commit 8f7ce8f0e9

View File

@ -310,7 +310,7 @@ export default {
const isMe = uni.getStorageSync("is_me"); const isMe = uni.getStorageSync("is_me");
// is_metruefalse // is_metruefalse
if (isMe === true || isMe === undefined || isMe === null || isMe === '') { if (isMe === true || isMe === undefined || isMe === null || isMe === '') {
this.getCommunityList(); await this.getCommunityList();
} }
this.getfunctionNum(); this.getfunctionNum();
this.getAdvertising(); this.getAdvertising();
@ -382,6 +382,8 @@ export default {
if (targetItem.front_end_display == 1) { if (targetItem.front_end_display == 1) {
uni.removeStorageSync("changeCommData"); uni.removeStorageSync("changeCommData");
} }
}else{
uni.removeStorageSync("changeCommData");
} }
res.rows = res.rows.filter((item) => { res.rows = res.rows.filter((item) => {