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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.181",
3
+ "version": "0.0.182",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -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
  }