diff options
| author | zhangyu <[email protected]> | 2021-04-01 09:48:03 +0800 |
|---|---|---|
| committer | zhangyu <[email protected]> | 2021-04-01 09:48:03 +0800 |
| commit | 657ae8418de6cdb2d35df836eae7f9508a70ec44 (patch) | |
| tree | 0e2f21861c20dc099d7c193ad91cbb19d1ccb84b | |
| parent | 6694f11d57e2d92e38268c4a7123654277087c65 (diff) | |
fix:修改设置默认时间导致显示错误的bug
| -rw-r--r-- | nezha-fronted/src/components/common/timePicker.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nezha-fronted/src/components/common/timePicker.vue b/nezha-fronted/src/components/common/timePicker.vue index 9c92e8abb..35402ebf1 100644 --- a/nezha-fronted/src/components/common/timePicker.vue +++ b/nezha-fronted/src/components/common/timePicker.vue @@ -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 { |
