<a-range-picker
v-model:value="formState.timeOfPurchase"
:disabled-date="disabledDate"
:allowClear="false"
class="w-[300px]"
size="large"
format="YYYY-MM-DD" />
const disabledDate = (current: dayjs) => {
if (current) {
return current > toDay().subtract(1, 'day')
}
}-