resolver-egretimp-plus 0.0.181 → 0.0.182
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/dist/h5/index.js +1 -1
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/src/utils/render.jsx +3 -3
package/package.json
CHANGED
package/src/utils/render.jsx
CHANGED
|
@@ -765,7 +765,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
765
765
|
const rules = [{
|
|
766
766
|
// required,
|
|
767
767
|
validator: (rule, value, callback) => {
|
|
768
|
-
if (config.editFlag === '0') {
|
|
768
|
+
if (config.editFlag === '0' && config.alongValidate != '1') {
|
|
769
769
|
callback()
|
|
770
770
|
return
|
|
771
771
|
}
|
|
@@ -815,7 +815,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
815
815
|
if (regexPattern?.length) {
|
|
816
816
|
rules.push({
|
|
817
817
|
validator: (rule, value, callback) => {
|
|
818
|
-
if (config.editFlag === '0') {
|
|
818
|
+
if (config.editFlag === '0' && config.alongValidate != '1') {
|
|
819
819
|
callback()
|
|
820
820
|
return
|
|
821
821
|
}
|
|
@@ -852,7 +852,7 @@ function getFormItemRule(config, lang, params) {
|
|
|
852
852
|
if (isFunction(validator)) {
|
|
853
853
|
rules.push({
|
|
854
854
|
validator: (rule, value, callback) => {
|
|
855
|
-
if (config.editFlag === '0') {
|
|
855
|
+
if (config.editFlag === '0' && config.alongValidate != '1') {
|
|
856
856
|
callback()
|
|
857
857
|
return
|
|
858
858
|
}
|