https://www.cnblogs.com/lilelile/p/9804177.html
<template> <el-date-picker v-model="value2" align="right" type="date" placeholder="选择日期" :picker-options="pickerOptions1"> </el-date-picker> </template> <script> export default { data() { return { pickerOptions1: { disabledDate(time) { return time.getTime() < Date.now() - 8.64e7; }, } } } }