From 513fd4ca501fe137f3cd5eb9eca58d2dfabfbd96 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Mon, 13 Mar 2023 17:44:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96vue=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=A8=A1=E6=9D=BF=E5=AD=90=E8=A1=A8=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/modules/gen/crud/vueForm.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/resources/templates/modules/gen/crud/vueForm.xml b/modules/core/src/main/resources/templates/modules/gen/crud/vueForm.xml index c9d4e0f8..fde635c4 100644 --- a/modules/core/src/main/resources/templates/modules/gen/crud/vueForm.xml +++ b/modules/core/src/main/resources/templates/modules/gen/crud/vueForm.xml @@ -545,7 +545,7 @@ for (c in table.columnList){ }); } if (!${@StringUtils.uncap(child.className)}ListValid) { - throw new Error('${@StringUtils.uncap(child.className)}List valid.'); + throw { errorFields: [{ name: ['${@StringUtils.uncap(child.className)}List'] }] }; } return ${@StringUtils.uncap(child.className)}List; }