Skip to content

Commit

Permalink
fix: 优化时间日期组件占位提示
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Jan 5, 2024
1 parent 33b6fac commit 0e6b7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ma-form/formItem/form-picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<component
:is="getComponentName()"
v-model="value"
:placeholder="props.component.formType === 'range' ? ['请选择开始时间', '请选择结束时间'] : `请选择${props.component.title}`"
:placeholder="props.component.formType === 'range' ? props.component.placeholder ?? ['请选择开始时间', '请选择结束时间'] : props.component.placeholder ?? `请选择${props.component.title}`"
:hide-trigger="props.component.hideTrigger"
:allow-clear="props.component.allowClear ?? true"
:format="props.component.format"
Expand Down

0 comments on commit 0e6b7e0

Please sign in to comment.