Commit ddd6e66e by 张杰

修复bug

1 parent e960c075
......@@ -205,9 +205,8 @@ export default {
? moment(row.alarmTime).format("x") - 120000
: "";
let sTime = moment(startTime).format("yyyy-MM-DD HH:mm:ss");
let endTime = row.endTime?moment(row.endTime).format("x") - 120000
: "";
let eTime = moment(endTime).format("yyyy-MM-DD HH:mm:ss");;
let endTime = row.endTime||"";
let eTime = moment(endTime).format("yyyy-MM-DD HH:mm:ss");
if (!row.endTime) {
eTime = moment(startTime + 3600000).format("yyyy-MM-DD HH:mm:ss");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!