fix endtime selection
This commit is contained in:
@@ -272,7 +272,7 @@ export default {
|
|||||||
this.$emit('input', { ...this.value, from, due })
|
this.$emit('input', { ...this.value, from, due })
|
||||||
} else {
|
} else {
|
||||||
let from = value
|
let from = value
|
||||||
let due = this.value.due || from
|
let due = this.value.due
|
||||||
if (this.fromHour) {
|
if (this.fromHour) {
|
||||||
const [hour, minute] = this.fromHour.split(':')
|
const [hour, minute] = this.fromHour.split(':')
|
||||||
from = dayjs.tz(value).hour(hour).minute(minute).second(0).toDate()
|
from = dayjs.tz(value).hour(hour).minute(minute).second(0).toDate()
|
||||||
|
|||||||
Reference in New Issue
Block a user