whlBooK
<DatePicker disabledDate={disabledDate} onChange={this.onChange} />

 //创建时间禁用大于当前时间  <moment().startOf(\'day\')  今天也不能选>
        const disabledDate = (current) => {
            return  current > moment(); //今天可以选
          }

  

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-12-12
  • 2021-12-01
  • 2021-07-29
猜你喜欢
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案