fix(@vben/web-antdv-next): adapter修正组件名称TextArea一致的大小写格式

pull/343/head
XuZhiqiang 2026-05-13 15:20:15 +08:00
parent 06f776d1ef
commit 9a5bee4dce
1 changed files with 5 additions and 4 deletions

View File

@ -123,7 +123,7 @@ const Rate = RateComponent;
const Select = SelectComponent;
const Space = SpaceComponent;
const Switch = SwitchComponent;
const Textarea = TextareaComponent;
const TextArea = TextareaComponent;
const TimePicker = TimePickerComponent;
const TimeRangePicker = TimeRangePickerComponent;
const TreeSelect = TreeSelectComponent;
@ -624,7 +624,8 @@ export type ComponentType =
| 'Select'
| 'Space'
| 'Switch'
| 'Textarea'
| 'TextArea'
| 'TextArea'
| 'TimePicker'
| 'TimeRangePicker'
| 'TreeSelect'
@ -658,7 +659,7 @@ export interface ComponentPropsMap {
Select: SelectProps;
Space: SpaceProps;
Switch: SwitchProps;
Textarea: TextAreaProps;
TextArea: TextAreaProps;
TimePicker: TimePickerProps;
TreeSelect: TreeSelectProps;
Upload: AdapterUploadProps;
@ -721,7 +722,7 @@ async function initComponentAdapter() {
Select: withDefaultPlaceholder(Select, 'select'),
Space,
Switch,
Textarea: withDefaultPlaceholder(Textarea, 'input'),
TextArea: withDefaultPlaceholder(TextArea, 'input'),
RichTextarea,
TimePicker,
TimeRangePicker,