增加选项及日期显示优化

This commit is contained in:
andy
2026-08-12 12:03:26 +08:00
parent fd801caa73
commit 38cfde8698
13 changed files with 172 additions and 26 deletions

View File

@@ -3,7 +3,7 @@
v-model="dateModel"
:input-id="inputId"
class="localized-date-picker"
date-format="yy-mm-dd"
:date-format="dateFormat"
:placeholder="placeholder"
:input-class="inputClass"
:pt="datePickerPt"
@@ -36,6 +36,7 @@ const props = withDefaults(defineProps<{
name?: string
testId: string
panelTestId?: string
dateFormat?: string
placeholder?: string
inputClass?: string | Record<string, boolean>
invalid?: boolean
@@ -46,6 +47,7 @@ const props = withDefaults(defineProps<{
}>(), {
name: undefined,
panelTestId: undefined,
dateFormat: 'yy-mm-dd',
placeholder: '',
inputClass: undefined,
invalid: false,