vue 中 el-date-picker标签 判断日期不能小于当前日期
return {expireTimeOption: {disabledDate(date) { //disabledDate 文档上:设置禁用状态,参数为当前日期,要求返回 Booleanreturn date.getTime() <= Date.now();}},}原文:https://blog.csdn.net/quKbin/article/de加粗样式tails/83...
·
-
:picker-options=“expireTimeOption”
expireTimeOption: {
disabledDate(date) {
return date.getTime() <= Date.now();
}
},
更多推荐
已为社区贡献1条内容
所有评论(0)