You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/time-picker/demo/interval-options.vue

33 lines
545 B

<docs>
---
order: 5
title:
zh-CN: 步长选项
en-US: Interval option
---
## zh-CN
可以使用 `hourStep` `minuteStep` `secondStep` 按步长展示可选的时分秒
## en-US
Show stepped options by `hourStep` `minuteStep` `secondStep`.
</docs>
<template>
<a-time-picker v-model:value="value" :minute-step="15" :second-step="10" />
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
setup() {
const value = ref();
return {
value,
};
},
});
</script>