fix: 修改 diagram tooltip的时间 未跟panel一致的问题
This commit is contained in:
@@ -661,8 +661,9 @@ export default {
|
||||
})
|
||||
})
|
||||
}
|
||||
const endTime = this.filterTime[1]
|
||||
const startTime = this.filterTime[0]
|
||||
const panelTime = localStorage.getItem('panelTime') ? JSON.parse(localStorage.getItem('panelTime')) : ['', '']
|
||||
const endTime = panelTime[1] || this.filterTime[1]
|
||||
const startTime = panelTime[0] || this.filterTime[0]
|
||||
const step = bus.getStep(startTime, endTime)
|
||||
data.pens && data.pens.forEach((item, index) => {
|
||||
this.chartGetData.push({ id: item.id, res: [] })
|
||||
|
||||
Reference in New Issue
Block a user