From 682c7bef939eddead47ea973675c719b533290a5 Mon Sep 17 00:00:00 2001 From: Tyh2001 <1469442737@qq.com> Date: Wed, 19 Jun 2024 18:57:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20`f-textarea`=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=95=B4=E4=BD=93=E6=B5=81=E7=A8=8B=E5=BA=A6?= =?UTF-8?q?=EF=BC=8C=E4=BB=A3=E7=A0=81=E8=BF=91=E4=B8=80=E6=AD=A5=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 + .../fighting-design/textarea/src/textarea.vue | 82 +++---------------- packages/fighting-theme/src/textarea.scss | 7 +- start/src/App.vue | 17 +++- 4 files changed, 35 insertions(+), 74 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76ffb02848..7b9f3779f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - 修复 `f-checkbox-group` 组件 `row-gap` 配置项失效问题 - 禁止了 `f-form` 组件的原生表单校验 - 修复 `f-textarea` 的 outline 样式不一致性 +- 修复 `f-textarea` 组件在 `resize` 不同配置项的情况下输入框错位的问题 +- 优化 `f-textarea` 组件整体流程度,代码近一步优化 +- `f-textarea` 组件 Enter 事件默认改为换行,ctrl + Enter 为提交事件,会执行 `on-enter` 事件 ## 1.0.0-alpha.8 (2024-06-12) diff --git a/packages/fighting-design/textarea/src/textarea.vue b/packages/fighting-design/textarea/src/textarea.vue index 7aec0f404b..f1367cd122 100644 --- a/packages/fighting-design/textarea/src/textarea.vue +++ b/packages/fighting-design/textarea/src/textarea.vue @@ -1,11 +1,9 @@