feat: ele 新增 Textarea 文本域组件适配
This commit is contained in:
@@ -180,6 +180,7 @@ export type ComponentType =
|
|||||||
| 'Select'
|
| 'Select'
|
||||||
| 'Space'
|
| 'Space'
|
||||||
| 'Switch'
|
| 'Switch'
|
||||||
|
| 'Textarea'
|
||||||
| 'TimePicker'
|
| 'TimePicker'
|
||||||
| 'TreeSelect'
|
| 'TreeSelect'
|
||||||
| 'Upload'
|
| 'Upload'
|
||||||
@@ -323,6 +324,10 @@ async function initComponentAdapter() {
|
|||||||
Upload: ElUpload,
|
Upload: ElUpload,
|
||||||
FileUpload,
|
FileUpload,
|
||||||
ImageUpload,
|
ImageUpload,
|
||||||
|
Textarea: withDefaultPlaceholder(ElInput, 'input', {
|
||||||
|
rows: 3,
|
||||||
|
type: 'textarea',
|
||||||
|
}),
|
||||||
RichTextarea,
|
RichTextarea,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user