fix:修改设置默认时间导致显示错误的bug

This commit is contained in:
zhangyu
2021-04-01 09:48:03 +08:00
parent 6694f11d57
commit 657ae8418d

View File

@@ -264,6 +264,7 @@ export default {
if (timeGroup) {
this.showTime = this.nowTimeType = this.timeData.find(item => item.id == timeGroup.id)
if (this.showTime) {
this.showTime = Object.assign({}, this.showTime)
this.$set(this.searchTime, 0, timeGroup.start_time)
this.$set(this.searchTime, 1, timeGroup.end_time)
} else {