NEZ-3005 fix:APM Explorer的query按钮不能自动更新Relative Time Range

This commit is contained in:
zhangyu
2023-07-21 10:31:56 +08:00
parent 45abd4ac95
commit 84aaaf4db7
7 changed files with 42 additions and 1 deletions

View File

@@ -3988,6 +3988,11 @@ export default {
}
},
expressionChange () {
if (this.$refs.pickTime) {
const nowTimeType = this.$refs.pickTime.$refs.timePicker.nowTimeType
this.nowTimeType = this.$refs.pickTime.$refs.timePicker.nowTimeType
this.setSearchTime(nowTimeType.type, nowTimeType.value)
}
if (this.expressions && this.expressions.length >= 1) {
if (this.showMetrics) {
this.queryTableData()