el-date-picker 设置开始时间和结束时间
<el-date-picker
v-model="ruleForm.RECORDDATE"
type="date"
placeholder="日期"
format="YYYY/M/D"
value-format="YYYY/M/D"
style="width: 100%;"
:disabled-date="publishDateAfter"
>
</el-date-picker>
publishDateAfter(time){
return time.getTime() > Date.now();
}
const publishDateAfter = (time) => {
return time.getTime() > Date.now();
}