From 7288c239fa959f11f3ad805db44455871fb5c5af Mon Sep 17 00:00:00 2001 From: zw Date: Fri, 1 Aug 2025 15:40:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(radio-group):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=8D=95=E9=80=89button=E4=B8=AD=E6=AF=8F=E4=B8=AA=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=B8=AD=E9=97=B4=E6=9C=892=E6=9D=A1=E7=BA=BF?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/component/component/radioButton/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/component/component/radioButton/index.less b/packages/component/component/radioButton/index.less index 12155bd7..52467cf7 100644 --- a/packages/component/component/radioButton/index.less +++ b/packages/component/component/radioButton/index.less @@ -24,4 +24,8 @@ .layui-radio-group .layui-radio-button:last-child .layui-btn { border-radius: 0px var(--button-border-radius) var(--button-border-radius) 0px; +} + +.layui-radio-group .layui-radio-button:not(:last-child) .layui-btn { + border-right: 0px; } \ No newline at end of file -- Gitee From 01a0ae34c50b739e489ac6100f9c62973b775203 Mon Sep 17 00:00:00 2001 From: zw Date: Wed, 6 Aug 2025 16:31:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(textarea):=E4=BF=AE=E5=A4=8Dtextarea?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=AD=E4=BD=BF=E7=94=A8=E8=80=85=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E8=BE=93=E5=85=A5=E6=96=87=E6=9C=AC=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=8C=89=E7=85=A7=E8=AE=BE=E7=BD=AE=E7=9A=84?= =?UTF-8?q?=E8=A1=8C=E6=95=B0=E6=92=91=E5=BC=80=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/component/component/textarea/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/component/component/textarea/index.vue b/packages/component/component/textarea/index.vue index 1ab6d95d..f842fa66 100644 --- a/packages/component/component/textarea/index.vue +++ b/packages/component/component/textarea/index.vue @@ -83,7 +83,12 @@ const styles = ref({ const onInput = function (eventParam: Event) { const inputElement = eventParam.target as HTMLInputElement; - if (composing.value) return; + if (composing.value) + return; + if (textareaRef.value) { + textareaRef.value.style.height = "auto"; // 先重置高度 + textareaRef.value.style.height = `${textareaRef.value.scrollHeight}px`; + } emit("update:modelValue", inputElement.value); nextTick(() => emit("input", inputElement.value)); }; -- Gitee