feat: ele 新增 Textarea 文本域组件适配

pull/102/head
puhui999 2025-05-12 18:06:33 +08:00
parent 29d16c83cd
commit 5e31d48d22
1 changed files with 5 additions and 0 deletions

View File

@ -180,6 +180,7 @@ export type ComponentType =
| 'Select'
| 'Space'
| 'Switch'
| 'Textarea'
| 'TimePicker'
| 'TreeSelect'
| 'Upload'
@ -323,6 +324,10 @@ async function initComponentAdapter() {
Upload: ElUpload,
FileUpload,
ImageUpload,
Textarea: withDefaultPlaceholder(ElInput, 'input', {
rows: 3,
type: 'textarea',
}),
RichTextarea,
};