From 5e31d48d22fb7bd0c63b016f9119ead08715af84 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Mon, 12 May 2025 18:06:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ele=20=E6=96=B0=E5=A2=9E=20Textarea=20?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E5=9F=9F=E7=BB=84=E4=BB=B6=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-ele/src/adapter/component/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web-ele/src/adapter/component/index.ts b/apps/web-ele/src/adapter/component/index.ts index 71152983..44072273 100644 --- a/apps/web-ele/src/adapter/component/index.ts +++ b/apps/web-ele/src/adapter/component/index.ts @@ -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, };