增加选项及日期显示优化
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user