修复注册登录输入框限制等bug

This commit is contained in:
zhouyanli
2026-08-03 17:39:27 +08:00
parent 015ed25400
commit 5c8671a91e
6 changed files with 39 additions and 33 deletions

View File

@@ -100,8 +100,8 @@
const onItemClick = (item) => {
if (!requireLogin()) return
const cachedVillageId = uni.getStorageSync('currentVillageId')
// 设置不需要绑定小区
if (item.title !== '设置') {
// 设置和我的房屋不需要绑定小区(我的房屋用于首次绑定)
if (item.title !== '设置' && item.title !== '我的房屋') {
if (!cachedVillageId || cachedVillageId === '0' || cachedVillageId === 0) {
uni.showToast({ title: '未绑定小区,没有权限', icon: 'none', duration: 2000 })
return
@@ -110,9 +110,7 @@
if (item.title == '我的房屋') {
uni.navigateTo({
url: '/pageSubPack/my/myHouseIndex',
success: res => {},
fail: () => {},
complete: () => {}
});
} else if (item.title == '住户管理') {
// uni.navigateTo({
@@ -124,16 +122,12 @@
} else if (item.title == '我的车位') {
uni.navigateTo({
url: '/pageSubPack/my/myParkingSpaceIndex',
success: res => {},
fail: () => {},
complete: () => {}
});
} else if (item.title == '我的车辆') {
uni.navigateTo({
url: '/pageSubPack/my/myCarIndex',
success: res => {},
fail: () => {},
complete: () => {}
});
} else if (item.title == '设置') {
goSetting()