单个日期选择
需求1:起始日期为本年1月1日
需求2:截止日期为当前日期
minDate: new Date(
new Date().getFullYear(),
new Date().getMonth()- new Date().getMonth(),
new Date().getMonth()- (new Date().getMonth()-1)
).getTime(),
maxDate: Date.now(),


需求1:起始日期为本年1月1日
需求2:截止日期为当前日期
minDate: new Date(
new Date().getFullYear(),
new Date().getMonth()- new Date().getMonth(),
new Date().getMonth()- (new Date().getMonth()-1)
).getTime(),
maxDate: Date.now(),
本文标题:calendar 单个日期
本文链接:https://www.haomeiwen.com/subject/ybtmrktx.html
网友评论