修复bug

This commit is contained in:
zhouyanli
2026-07-31 14:06:11 +08:00
parent 8c0a713512
commit 3b66b76e40
11 changed files with 265 additions and 136 deletions

View File

@@ -140,6 +140,11 @@
const handleFuncClick = (item) => {
if (!requireLogin()) return
const cachedVillageId = uni.getStorageSync('currentVillageId')
if (!cachedVillageId || cachedVillageId === '0' || cachedVillageId === 0) {
uni.showToast({ title: '未绑定小区,没有权限', icon: 'none', duration: 2000 })
return
}
uni.setStorageSync('sourcePage', 'serviceIndex')
uni.navigateTo({
url: item.path,
@@ -288,4 +293,4 @@
.community-grid .func-item:nth-child(4n) {
margin-right: 0;
}
</style>
</style>