Browse Source

待巡检列表返回刷新

master
liujiangyong 2 years ago
parent
commit
bfa4b303d7
  1. 10
      weapp/package/polling/polling.js

10
weapp/package/polling/polling.js

@ -199,7 +199,7 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad (options) { onLoad (options) {
this.getPatrolPlan(); // this.getPatrolPlan();
}, },
/** /**
@ -213,7 +213,13 @@ Page({
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow () { onShow () {
const that = this;
that.setData({
dataList: [],
page: 0, //当前页
count: '', //总条数
})
that.getPatrolPlan()
}, },
/** /**

Loading…
Cancel
Save