修改禅道已知bug
This commit is contained in:
@@ -189,6 +189,14 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
|
if (this.isDefault) {
|
||||||
|
let startTime = moment(new Date()).format('YYYY-MM-DD')
|
||||||
|
let endTime = this.haflYear()
|
||||||
|
if (this.queryParam['WarnTime'].length == 0) {
|
||||||
|
this.queryParam['WarnTime'] = [startTime, endTime]
|
||||||
|
}
|
||||||
|
this.queryParam = { ...this.queryParam }
|
||||||
|
}
|
||||||
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(this.queryParam)))
|
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(this.queryParam)))
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
|
|||||||
Reference in New Issue
Block a user