fix:修改设置默认时间导致显示错误的bug
This commit is contained in:
@@ -264,6 +264,7 @@ export default {
|
|||||||
if (timeGroup) {
|
if (timeGroup) {
|
||||||
this.showTime = this.nowTimeType = this.timeData.find(item => item.id == timeGroup.id)
|
this.showTime = this.nowTimeType = this.timeData.find(item => item.id == timeGroup.id)
|
||||||
if (this.showTime) {
|
if (this.showTime) {
|
||||||
|
this.showTime = Object.assign({}, this.showTime)
|
||||||
this.$set(this.searchTime, 0, timeGroup.start_time)
|
this.$set(this.searchTime, 0, timeGroup.start_time)
|
||||||
this.$set(this.searchTime, 1, timeGroup.end_time)
|
this.$set(this.searchTime, 1, timeGroup.end_time)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user