34 lines
431 B
Vue
34 lines
431 B
Vue
<docs>
|
|
---
|
|
order: 3
|
|
title:
|
|
zh-CN: 禁用
|
|
en-US: Disabled
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
禁用时间选择。
|
|
|
|
## en-US
|
|
|
|
A disabled state of the `TimePicker`.
|
|
|
|
</docs>
|
|
|
|
<template>
|
|
<a-time-picker :value="dayjs('12:08:23', 'HH:mm:ss')" disabled />
|
|
</template>
|
|
<script lang="ts">
|
|
import dayjs from 'dayjs';
|
|
import { defineComponent } from 'vue';
|
|
export default defineComponent({
|
|
setup() {
|
|
return {
|
|
dayjs,
|
|
};
|
|
},
|
|
});
|
|
</script>
|
|
|