时间日期选择器
<el-form-item label="上传时间:" v-if="status != 2">
<el-date-picker style="width: 3rem" v-model="daterange"
value-format="yyyy-MM-dd HH:mm:ss" type="datetimerange"
start-placeholder="开始时间" end-placeholder="结束时间"
:picker-options="pickerOptions1" clearable>
</el-date-picker>
data中定义:
pickerOptions1: {
onPick: ({ maxDate, minDate }) => {