disabledStartDate = (current) => {const endValue = this.state.endValue;// if (!startValue || !endValue) {// return false;// }// return startValue.valueOf() > endValue.valueOf();return current < moment();} disabledDate={this.disabledStartDate}設置disabledDate不可選的日期,怎樣才可以把當天變成可選的
添加回答
舉報
0/150
提交
取消