修改bug

This commit is contained in:
zhouyanli
2026-09-03 17:41:55 +08:00
parent bc9e6a1361
commit 09f2583974
5 changed files with 11 additions and 13 deletions

View File

@@ -470,7 +470,7 @@
}
// 清空房屋相关缓存与表单数据(新增房屋时避免回显上一次修改残留的数据)
// 清空房屋相关缓存与表单数据
const clearHouseData = () => {
['communityId', 'communityName', 'buildingId', 'buildingName', 'unitId', 'unitName',
'floorId', 'floorName', 'houseNumberId', 'houseNumberName', 'houseStatus', 'houseIsDefault',
@@ -1057,9 +1057,6 @@
box-sizing: border-box;
}
/* 步骤条 */
.step-bar {
display: flex;

View File

@@ -116,9 +116,9 @@ const onSubmit = () => {
} else {
uni.showToast({ title: res.msg || '更换失败', icon: 'none' })
}
}).catch(() => {
}).catch((err) => {
uni.hideLoading()
uni.showToast({ title: '更换失败', icon: 'none' })
uni.showToast({ title: err.msg || '更换失败', icon: 'none' })
})
}