mirror of https://github.com/jeecgboot/jeecg-boot
vue3模板生成报错 issues/I5MU66
parent
c18dfa7f92
commit
9100fca57a
|
@ -4,9 +4,9 @@
|
|||
<#if col.fieldName != 'id'>
|
||||
<#assign subFieldValidType = col.fieldValidType!''>
|
||||
<#-- 非空校验 -->
|
||||
<#if col.nullable == 'N' || fieldValidType == '*'>
|
||||
<#if col.nullable == 'N' || subFieldValidType == '*'>
|
||||
{ required: true, message: '${'$'}{title}不能为空' },
|
||||
<#elseif fieldValidType!=''>
|
||||
<#elseif subFieldValidType!=''>
|
||||
{ required: false},
|
||||
</#if>
|
||||
<#-- 其他情况下,只要有值就被认为是正则校验 -->
|
||||
|
|
Loading…
Reference in New Issue