From 2a859a2536b9dfc58897e45b17ab4dea220d8df3 Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 10 Nov 2025 15:57:11 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E8=BE=93=E5=85=A5URL=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=A4=9A=E6=AC=A1=E6=8F=90=E7=A4=BAbug=20=20?= =?UTF-8?q?=20=20-=20[=E5=85=B3=E8=81=94]#[1547224079630336]=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E8=A1=A8=E6=A0=BC=E8=BE=93=E5=85=A5URL=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E6=93=8D=E4=BD=9C=E5=A4=9A=E6=AC=A1=E6=8F=90=E7=A4=BA?= =?UTF-8?q?bug=20http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050?= =?UTF-8?q?947543040/939050947543057/1547224079630336?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/plugins/TsForm/TsFormInput.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resources/plugins/TsForm/TsFormInput.vue b/src/resources/plugins/TsForm/TsFormInput.vue index 68cda966..570cc170 100755 --- a/src/resources/plugins/TsForm/TsFormInput.vue +++ b/src/resources/plugins/TsForm/TsFormInput.vue @@ -210,7 +210,9 @@ export default { this.valid(value); } } else { - // this.validMesage = ''; // enter键回车会清空校验提示信息 + if (this.type != 'textarea') { + this.validMesage = ''; // 当类型为 textarea 时,按 Enter 键回车时保留校验提示信息;其他类型在值变化时清除校验提示信息。 + } this.isValidPass = true; } }, -- Gitee