From 078825a20608a511ec0c25987192f5e8f48281a7 Mon Sep 17 00:00:00 2001 From: lvjunzhao <967725@dms.yudean.com> Date: Tue, 4 Mar 2025 12:24:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=89=8D=E7=AB=AF=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=90=8D=E5=AD=97=E5=85=A8=E5=B0=8F=E5=86=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98=201.=20=E9=A9=BC=E5=B3=B0=E5=A4=84=E7=90=86c?= =?UTF-8?q?lassName=20=E6=9D=A5=E5=AE=9A=E4=B9=89=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=202.=20=E5=89=8D=E7=AB=AF=E6=8E=A7=E5=88=B6=09?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=90=8D=E7=A7=B0=E5=BF=85=E9=A1=BB=E6=97=B6?= =?UTF-8?q?=E9=A6=96=E5=AD=97=E6=AF=8D=E5=A4=A7=E5=86=99=E7=9A=84=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E6=95=B0=E5=AD=97=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CreateCodeStep/src/TableConfigStep.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CreateCodeStep/src/TableConfigStep.vue b/src/components/CreateCodeStep/src/TableConfigStep.vue index 0f26ae4..c09696b 100644 --- a/src/components/CreateCodeStep/src/TableConfigStep.vue +++ b/src/components/CreateCodeStep/src/TableConfigStep.vue @@ -426,10 +426,10 @@ }); //提示消息 return false; } - if (!/^[a-zA-Z][a-zA-Z0-9]*$/.test(outputConfig.className!)) { + if (!/^[A-Z][a-zA-Z0-9]*$/.test(outputConfig.className!)) { notification.error({ message: t('提示'), - description: t('功能名称只能是数字和字母组成,必须以英文字母开头'), + description: t('功能名称只能是数字和字母组成,必须以英文字母大写开头'), }); //提示消息 return false; }