disabledStartDate = (current) => {const endValue = this.state.endValue;// if (!startValue || !endValue) {// return false;// }// return startValue.valueOf() > endValue.valueOf();return current < moment();} disabledDate={this.disabledStartDate}設置disabledDate不可選的日期,怎樣才可以把當天變成可選的
DatePicker設置日期時怎么把當天之前的日期禁選
蕭十郎
2018-07-12 14:19:33