Browse Source

fix 8564 小程序-第一次巡检后巡检记录上一次巡检时间显示错误

master
liujiangyong 2 years ago
parent
commit
4fd8d9146f
  1. 2
      weapp/package/polling/polling.js

2
weapp/package/polling/polling.js

@ -183,7 +183,7 @@ Page({
return;
}
let dataSource = res.map(e => {
e.lastInspectionTime = moment(e.lastInspectionTime).format('YYYY-MM-DD');
e.lastInspectionTime = e.lastInspectionTime ? moment(e.lastInspectionTime).format('YYYY-MM-DD') : '--';
e.inspectionTime = moment(e.inspectionTime).format('YYYY-MM-DD');
return e;
})

Loading…
Cancel
Save