resolver-egretimp-plus 0.0.127 → 0.0.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/utils/render.jsx
CHANGED
|
@@ -746,7 +746,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
746
746
|
return
|
|
747
747
|
}
|
|
748
748
|
const val = (config.bindValue === null || config.bindValue === undefined) ? '' : config.bindValue
|
|
749
|
-
|
|
749
|
+
if (!val) callback() // 为空不进行正则校验
|
|
750
750
|
for (let i = 0; i < regexPattern.length; i++) {
|
|
751
751
|
const validInfo = regexPattern[i]
|
|
752
752
|
const { reg, tip, tipEn } = validInfo
|