修复bug

This commit is contained in:
zhouyanli
2026-08-22 08:08:01 +08:00
parent a078513221
commit 453f563a6e
8 changed files with 49 additions and 13 deletions

View File

@@ -104,7 +104,7 @@
// 设置和我的房屋不需要绑定小区(我的房屋用于首次绑定)
if (item.title !== '设置' && item.title !== '我的房屋' && item.title !== '我的积分') {
if (!cachedVillageId || cachedVillageId === '0' || cachedVillageId === 0) {
uni.showToast({ title: '未绑定小区,没有权限', icon: 'none', duration: 2000 })
uni.showToast({ title: '未绑定房屋,没有权限', icon: 'none', duration: 2000 })
return
}
}