fix:修改全屏时间回显不正确 以及 修改 chart比较 因为前后数量不同导致的bug
This commit is contained in:
@@ -371,7 +371,7 @@ export default {
|
||||
}
|
||||
},
|
||||
setSearchTime (type, val) {
|
||||
console.log(132, this.stepSearchTime ,val,new Date(this.stepSearchTime[0]).getTime() - val * 60 * 60)
|
||||
console.log(132, this.stepSearchTime, val, new Date(this.stepSearchTime[0]).getTime() - val * 60 * 60)
|
||||
if (type === 'minute') {
|
||||
const startTime = bus.timeFormate(new Date(this.stepSearchTime[0]).getTime() - val * 60 * 1000, 'yyyy-MM-dd hh:mm:ss')
|
||||
const endTime = bus.timeFormate(new Date(this.stepSearchTime[1]).getTime() - val * 60 * 1000, 'yyyy-MM-dd hh:mm:ss')
|
||||
|
||||
Reference in New Issue
Block a user