---
layout: templateLayout
---
```vue
<template>
    <time-picker
        :disabled-hours="disabledHours"
        :disabled-minutes="disabledMinutes"
        :disabled-seconds="disabledSeconds">
    </time-picker>
</template>
<script>
export default {
    methods: {
        disabledHours() {
            return [2];
        },
        disabledMinutes(hour) {
            if (hour === '03') {
                return [3, 4, 5];
            }
        },
        disabledSeconds(hour, minute) {
            if (hour === '04' && minute === '05') {
                return [3, 4];
            }
        }
    }
}
</script>
```