climblee/uv-ui

DatetimePicker跨月选择报错

Opened this issue · 0 comments

const valueTime = Number(Date())
const datetimePicker = ref(null)
const now = dayjs().valueOf()//1717121204106
    const nextDay = dayjs().add(3, 'day').valueOf()//1717380404106

	<uv-datetime-picker ref="datetimePicker" v-model="valueTime" mode="datetime" :minDate="now" :maxDate="nextDay"
		@confirm="confirm"></uv-datetime-picker>

image