NEZ-2781 fix:Alert Message 二级列表 查询时间不会动态变化
This commit is contained in:
@@ -590,6 +590,10 @@ export default {
|
||||
} else {
|
||||
this.isPopoverDisabled = false
|
||||
}
|
||||
},
|
||||
refresh () {
|
||||
this.setSearchTime(this.nowTimeType.type, this.nowTimeType.value, this.searchTime)
|
||||
this.$emit('change', this.searchTime)
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -601,6 +605,7 @@ export default {
|
||||
if (showTime) {
|
||||
this.showTime = Object.assign({}, showTime)
|
||||
this.searchTime = this.$parent.searchTime
|
||||
this.nowTimeType = this.showTime
|
||||
}
|
||||
if (this.showEmpty && this.defaultPick === 12) {
|
||||
this.searchTime = []
|
||||
|
||||
Reference in New Issue
Block a user