@form-create/iview 2.5.35 → 2.5.37

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": "@form-create/iview",
3
- "version": "2.5.35",
3
+ "version": "2.5.37",
4
4
  "description": "iview动态表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 3 UI frameworks, and supports the generation of any Vue components. Built-in 20 kinds of commonly used form components and custom components, no matter how complex forms can be easily handled.",
5
5
  "main": "./dist/form-create.min.js",
6
6
  "module": "./dist/form-create.min.js",
@@ -43,16 +43,16 @@
43
43
  },
44
44
  "homepage": "http://www.form-create.com",
45
45
  "dependencies": {
46
- "@form-create/component-ivu-checkbox": "^2.5.35",
47
- "@form-create/component-ivu-frame": "^2.5.35",
48
- "@form-create/component-ivu-group": "^2.5.35",
49
- "@form-create/component-ivu-radio": "^2.5.35",
50
- "@form-create/component-ivu-select": "^2.5.35",
51
- "@form-create/component-ivu-tree": "^2.5.35",
52
- "@form-create/component-ivu-upload": "^2.5.35",
53
- "@form-create/component-subform": "^2.5.25",
54
- "@form-create/core": "^2.5.35",
55
- "@form-create/utils": "^2.5.35"
46
+ "@form-create/component-ivu-checkbox": "^2.5.36",
47
+ "@form-create/component-ivu-frame": "^2.5.36",
48
+ "@form-create/component-ivu-group": "^2.5.37",
49
+ "@form-create/component-ivu-radio": "^2.5.36",
50
+ "@form-create/component-ivu-select": "^2.5.36",
51
+ "@form-create/component-ivu-tree": "^2.5.36",
52
+ "@form-create/component-ivu-upload": "^2.5.36",
53
+ "@form-create/component-subform": "^2.5.37",
54
+ "@form-create/core": "^2.5.37",
55
+ "@form-create/utils": "^2.5.36"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"
@@ -64,5 +64,5 @@
64
64
  "iview": "^3.3.3",
65
65
  "v-jsoneditor": "^1.4.2"
66
66
  },
67
- "gitHead": "1cea842d9380bbc9f3bc01470e7e17f5a952dffb"
67
+ "gitHead": "bd8498f476ccdb1cf9c72fd356efa78f87757269"
68
68
  }
@@ -102,7 +102,7 @@ export default {
102
102
  extend(this.rule, {key, ref});
103
103
  extend(this.rule.props, {
104
104
  model: $handle.formData,
105
- rules: $handle.validate(),
105
+ // rules: $handle.validate(),
106
106
  });
107
107
  },
108
108
  render(children) {
@@ -123,7 +123,7 @@ export default {
123
123
  labelWidth,
124
124
  ...(rule.wrap || {}),
125
125
  prop: ctx.id,
126
- rules: rule.validate,
126
+ rules: ctx.injectValidate(),
127
127
  },
128
128
  class: rule.className,
129
129
  key: `${uni}fi`,