fix:处理alertMessage时间回显错误的问题

This commit is contained in:
zhangyu
2023-06-08 16:39:51 +08:00
parent c8cf46a677
commit 07ad9d121a
3 changed files with 19 additions and 5 deletions

View File

@@ -149,7 +149,8 @@ export default {
}
const startTime = bus.timeFormate(timeRange[0], this.pickTimer)
const endTime = bus.timeFormate(timeRange[1], this.pickTimer)
return [startTime, endTime]
const timeType = timeRange[2]
return [startTime, endTime, timeType || '']
},
dateChange (time) {
this.searchTime = time