修复bug
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user