Skip to content

时间选择 TimePicker

选择时间的用户界面控件,提供了一个直观的方式让用户通过滑动列表来选择特定的时间。

基础用法

时间选择器的基础用法

vue
<template>
  <bp-time-picker v-model="time" :style="{ width: '180px' }" clearable placeholder="请选择" />
</template>

<script setup lang="ts">
import { ref } from "vue";

const time = ref("");
</script>