<el-date-picker v-model="baseInfo.addTime" type="datetime" placeholder="选择时间" :picker-options="pickerOptions"></el-date-picker>
pickerOptions: { disabledDate(time) { return time.getTime() < Date.now() - 3600 * 1000 * 24; } },//data中定义
原文地址:https://www.cnblogs.com/wangliko/p/12084224.html
时间: 2024-11-05 22:39:27