fix;修改刷新echart报错

This commit is contained in:
zhangyu
2020-08-28 13:53:55 +08:00
parent 01a3394ffa
commit b7f1140b7b
2 changed files with 5 additions and 5 deletions

View File

@@ -701,6 +701,11 @@
}
}
},
getNewTime(time, num) {
const date = new Date(time);
const newDate = new Date(parseInt(date.getTime(), 10) + num);
return bus.timeFormate(newDate, 'yyyy-MM-dd hh:mm:ss');
},
// 关闭loading状态
loadingFalse(item){
this.$set(this.dataList[item.id],'loading',false);