<calendar title="" v-model="vaccineTime" placeholder="请选择日期" show-popup-header disable-future></calendar>
<calendar title="" v-model="vaccineNextTime" placeholder="请选择日期" show-popup-header disable-past></calendar>
日历组件可以在组件上直接使用disable-future或disable-past来禁止未来和过去
时间选择器需要用js得到今天的日期
var time = new Date();
time.setTime(time.getTime());
var today = time.getFullYear()+"-" + (time.getMonth()+1) + "-" + time.getDate();
然后赋值到属性中