<el-date-picker
v-model="queryInfo.time" value-format="yyyy-MM-dd"
type="daterange" range-separator="至" start-placeholder="开始日期"
@change="getData(1, 10)" end-placeholder="结束日期" :picker-options="pickerOptions">
</el-date-picker>
data() {
return {
pickerOptions: {
disabledDate(v) {
return v.getTime() < new Date().getTime() - 86400000;
}
},
}
}