fix: 修改 group重叠下方chart 的bug 以及 点击菜单panel未跳第一个panel的问题

This commit is contained in:
zhangyu
2021-12-30 11:33:24 +08:00
parent 8b2e144e59
commit 45283f7084
9 changed files with 28 additions and 27 deletions

View File

@@ -821,11 +821,11 @@ export default {
searchTime: { target: this, propertyName: 'searchTime', type: 'jsonParse' },
nowTimeType: { target: this, propertyName: 'nowTimeType', type: 'jsonParse' }
}
this.initQueryFromPath(searchKeys)
setTimeout(() => {
this.showPanel.id = this.panelId
this.filter.panelId = this.panelId
})
this.initQueryFromPath(searchKeys)
if (this.nowTimeType.type) {
this.setSearchTime(this.nowTimeType.type, this.nowTimeType.value, this.nowTimeType)
this.filter.start_time = bus.timeFormate(this.searchTime[0], 'yyyy-MM-dd hh:mm:ss')