修改切换账号绑定小区

This commit is contained in:
zhouyanli
2026-06-09 17:11:25 +08:00
parent ebdfa8d95e
commit aaf828c6e3
15 changed files with 54 additions and 29 deletions

View File

@@ -449,7 +449,7 @@
}
} catch (err) {
uni.showToast({
title: `${err}`,
title: err.msg || '网络异常',
icon: 'none'
})
} finally {
@@ -694,7 +694,7 @@
const params = {
villageId: uni.getStorageSync('communityId'),
buildingId: uni.getStorageSync('buildingId'),
unitNo: uni.getStorageSync('unitId'),
unitNoId: uni.getStorageSync('unitId'),
floorNo: uni.getStorageSync('floorId'),
houseNo: uni.getStorageSync('houseNumberName'),
houseId: uni.getStorageSync('houseNumberId'),
@@ -727,6 +727,8 @@
title: '提交成功',
icon: 'success'
})
// 标记需要从绑定房屋返回首页后重新加载用户信息
uni.setStorageSync('needReloadUserInfo', true)
setTimeout(() => {
goBack()
}, 1500)