startReportHeart() {
let that = this;
var timerTem = setTimeout(function () {
that.getMessageList();
that.startReportHeart();
}, 1000)
// 保存定时器name
that.setData({
timer: timerTem
})
},
startReportHeart() {
let that = this;
var timerTem = setTimeout(function () {
that.getMessageList();
that.startReportHeart();
}, 1000)
// 保存定时器name
that.setData({
timer: timerTem
})
},