antd日期選擇器禁止選擇當天以前的時間

使用disabledDate屬性(不可選擇的日期)函數 <a-date-picker @change="dateChange" :disabledDate="disabledDate" v-decorator="['endDate']"/>  在js中定義函數並返回code //限制當天以前的日期不可選 disabledDate(current) { return curren
相關文章
相關標籤/搜索