fix: test

This commit is contained in:
zhanglecong 2023-12-18 20:40:53 +08:00
parent 6de711ccd0
commit 4f309aab25
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import { type MaybeArray } from '../../_utils'
const timePickerPanelProps = {
actions: {
type: Array as PropType<Array<'clear' | 'now' | 'confirm'> | null>,
default: () => ['clear', 'now', 'confirm']
default: () => ['now', 'confirm']
},
showHour: {
type: Boolean,

View File

@ -93,7 +93,7 @@ export const timePickerProps = {
type: Boolean as PropType<boolean | undefined>,
default: undefined
},
actions: Array as PropType<Array<'now' | 'confirm'> | null>,
actions: Array as PropType<Array<'clear' | 'now' | 'confirm'> | null>,
defaultValue: {
type: Number as PropType<number | null>,
default: null