Browse Source

居住记录每次进来清空数据并请求

master
mk 2 weeks ago
parent
commit
dba4ac07f5
  1. 9
      subpages/mine/checkInRecord/checkInRecord.js

9
subpages/mine/checkInRecord/checkInRecord.js

@ -13,7 +13,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getList()
},
/**
@ -27,7 +27,10 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
this.setData({
list:[],
})
this.getList()
},
/**
@ -67,7 +70,7 @@ Page({
getList(){
let parm = {
flag:1,
pageSize:10,
pageSize:100,
pageNo:1
}
chooseRoomRec(parm).then(res=>{

Loading…
Cancel
Save