About the problem that the minutes of the el-time-picker component of ElementUI cannot be selected

When using the el-time-picker component, the minute cannot be modified by sliding. The default is stuck at 04 minutes, and the keyboard can be modified

The error code is as follows:

  <el-time-picker
    v-model="addForm.meetingTime"
      style="width: 100%;"
      is-range
      value-format="HH:MM"
      format="HH:MM"
      range-separator=""
      start-placeholder="开始时间"
      end-placeholder="结束时间">
  </el-time-picker>

this circumstance occurs:
insert image description here

The reason is that the minute is set to MM

After revision:

     <el-time-picker
       is-range
       range-separator=""
       start-placeholder="开始时间"
       end-placeholder="结束时间"
       v-model="addForm.meetingTime"
       placeholder="选择早餐时间"
       format="HH:mm"
       value-format="HH:mm"
       style="width:100%"
       >
     </el-time-picker>

Guess you like

Origin blog.csdn.net/lzl980111/article/details/124477799
Recommended