<a-date-picker
                    class="project-input"
                    style="width: 100%;"
                    v-decorator="['progressTime', { rules: [{ required: true, message: '请选择更新时间!' }] }]"
                    placeholder="请选择更新时间"
                    :disabledDate="disabledDate"
            />

methods里面:
            disabledDate(current) {
                return current > moment().subtract(0, 'day')//今天之后的年月日不可选,不包括今天
            },

AntDesign ` <a-date-picker> ` 只能选择今天之前日期

相关文章:

  • 2022-02-27
  • 2021-08-28
  • 2022-01-21
  • 2022-12-23
  • 2022-01-21
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-10-15
相关资源
相似解决方案