修复bug

This commit is contained in:
zhouyanli
2026-08-06 10:36:06 +08:00
parent 81e0ccf574
commit d44ebd075e
8 changed files with 121 additions and 78 deletions

View File

@@ -68,8 +68,10 @@
import {
ref,
onMounted,
} from 'vue'
import {
onShow
} from '@dcloudio/uni-app'
import {
getMyHouseList,
setMyHouseDefault
@@ -141,6 +143,13 @@
getList()
})
// 页面显示时刷新列表(从添加/编辑房屋页返回时)
onShow(() => {
pageNum.value = 1
noMoreData.value = false
getList()
})
const onSwitchChange = async (e, i) => {