Merge pull request #437 from ninstein/patch-5

bugfix:必填字段判断错误修复
This commit is contained in:
wenjianzhang authored and GitHub committed 2021-06-01 00:21:34 +08:00
commit cdc5c1246e
1 file changed
+1 -2
+1 -2
View File
@@ -294,8 +294,7 @@
// 表单校验
rules: {
{{- range .Columns -}}
{{- $x := .IsQuery -}}
{{- if ($x) -}}
{{- if eq .IsRequired "1" -}}
{{.JsonField}}:
[
{required: true, message: '{{.ColumnComment}}不能为空', trigger: 'blur'}