laydate.render({
elem: '#date',
min:minDate()
});
function minDate(){
var now = new Date();
return now.getFullYear()+"-" + (now.getMonth()+1) + "-" + now.getDate();
}
laydate.render({
elem: '#date',
min:minDate()
});
function minDate(){
var now = new Date();
return now.getFullYear()+"-" + (now.getMonth()+1) + "-" + now.getDate();
}
本文标题:laydate不选择今天之前的日期
本文链接:https://www.haomeiwen.com/subject/bbvwqqtx.html
网友评论