<a-date-picker :disabledDate="disabledEndDate" style="width: 100%" placeholder="請輸入出生日期" />
// 設置可選最大日期 disabledEndDate (endValue) { const startValue = new Date() if (!endValue || !startValue) { return false } return startValue.valueOf() <= endValue.valueOf() }