NEZ-2018 fix:使用时间控件时选择最近使用时间出错,再次点击自定义日期按钮报错
This commit is contained in:
@@ -313,8 +313,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
historyChange (item) {
|
historyChange (item) {
|
||||||
this.searchTime[0] = item.start
|
this.oldSearchTime[0] = this.momentTz(item.start)
|
||||||
this.searchTime[1] = item.end
|
this.oldSearchTime[1] = this.momentTz(item.end)
|
||||||
this.isCustom = true
|
this.isCustom = true
|
||||||
this.showDropdown()
|
this.showDropdown()
|
||||||
this.$emit('change', this.searchTime)
|
this.$emit('change', this.searchTime)
|
||||||
|
|||||||
Reference in New Issue
Block a user