修复bug
This commit is contained in:
@@ -733,13 +733,26 @@
|
||||
// 标记需要从绑定房屋返回首页后重新加载用户信息
|
||||
uni.setStorageSync('needReloadUserInfo', true)
|
||||
setTimeout(() => {
|
||||
goBack()
|
||||
uni.removeStorageSync("communityId");
|
||||
uni.removeStorageSync("communityName");
|
||||
uni.removeStorageSync("buildingId");
|
||||
uni.removeStorageSync("buildingName");
|
||||
uni.removeStorageSync("unitId");
|
||||
uni.removeStorageSync("unitName");
|
||||
uni.removeStorageSync("floorId");
|
||||
uni.removeStorageSync("floorName");
|
||||
uni.removeStorageSync("houseNumberId");
|
||||
uni.removeStorageSync("houseNumberName");
|
||||
uni.removeStorageSync("houseStatus");
|
||||
uni.removeStorageSync("houseIsDefault");
|
||||
uni.removeStorageSync("updateHouseId");
|
||||
uni.redirectTo({ url: "/pageSubPack/my/myHouseIndex" })
|
||||
}, 1500)
|
||||
|
||||
} catch (err) {
|
||||
// 8. 统一错误处理
|
||||
uni.hideLoading()
|
||||
console.log('提交失败:', err)
|
||||
console.log('提交失败11111111111111:', err)
|
||||
uni.showToast({
|
||||
title: err.msg || '提交失败',
|
||||
icon: 'none',
|
||||
|
||||
Reference in New Issue
Block a user