<template>
  <el-form-item
    :label="label"
    :rules="requireRule(required, label)"
    :prop="prop"
  >
    <el-time-picker
      v-model="$parent.model[prop]"
      value-format="HH:mm:ss"
      placeholder="选择时间"
      :disabled="disabled"
      :clearable="clearable"
    >
    </el-time-picker>
  </el-form-item>
</template>

<script>
import mixin from "./mixin";
/**
 * 返回格式化后的日期（范围）
 * 日期类型返回单个字符串，日期范围返回包含开始和结束日期的数组
 */
export default {
  mixins: [mixin],
  props: {},
};
</script>
