<el-date-picker v-model="pushTime" type="datetime" placeholder="选择日期时间" value-format="timestamp" :picker-options="pickerOptions"></el-date-picker>
export default {
data() {
return {
pushTime:null,
pickerOptions: {
disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7;
}
}
}
}
}