<el-time-select
v-model="form.exeIntervalStartTime"
:picker-options="{
start: '00:00',
step: '01:00',
end: '23:00',
maxTime: form.exeIntervalEndTime,
}"
placeholder="开始时间">
</el-time-select>
<el-time-select
v-model="form.exeIntervalEndTime"
:picker-options="{
start: '00:00',
step: '01:00',
end: '23:00',
}"
placeholder="结束时间">
</el-time-select>
- maxTime 最大时间,大于该时间的时间段将被禁用
<el-time-select
v-model="form.exeIntervalStartTime"
:picker-options="{
start: '00:00',
step: '01:00',
end: '23:00',
}"
placeholder="开始时间">
</el-time-select>
<el-time-select
v-model="form.exeIntervalEndTime"
:picker-options="{
start: '00:00',
step: '01:00',
end: '23:00',
minTime: form.exeIntervalStartTime,
}"
placeholder="结束时间">
</el-time-select>
- minTime 最小时间,小于该时间的时间段将被禁用