1. 日期选择器添加属性
:picker-options="pickerOptions1"
2.计算函数
computed: {
pickerOptions1() {
const timeMax = new Date(this.editForm.expirationDate)
return {
disabledDate(time) {
return time.getTime() < timeMax
}
}
}
},