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