@form-create/component-antdv-group 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/component-antdv-group",
3
- "version": "2.5.35",
3
+ "version": "2.5.37",
4
4
  "description": "@form-create/ant-design-vue 内置组件",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "author": "xaboy",
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@form-create/utils": "^2.5.35"
33
+ "@form-create/utils": "^2.5.36"
34
34
  },
35
35
  "bugs": {
36
36
  "url": "https://github.com/xaboy/form-create/issues"
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "1cea842d9380bbc9f3bc01470e7e17f5a952dffb"
42
+ "gitHead": "bd8498f476ccdb1cf9c72fd356efa78f87757269"
43
43
  }
package/src/component.jsx CHANGED
@@ -108,14 +108,6 @@ export default {
108
108
  },
109
109
  deep: true
110
110
  },
111
- disabled(n) {
112
- if (this.syncDisabled) {
113
- const lst = this.cacheRule;
114
- Object.keys(lst).forEach(k => {
115
- lst[k].$f.disabled(n);
116
- })
117
- }
118
- },
119
111
  expand(n) {
120
112
  let d = n - this.value.length;
121
113
  if (d > 0) {
@@ -202,9 +194,6 @@ export default {
202
194
  add$f(i, key, $f) {
203
195
  this.cacheRule[key].$f = $f;
204
196
  this.$nextTick(() => {
205
- if (this.syncDisabled) {
206
- $f.disabled(this.disabled);
207
- }
208
197
  this.$emit('itemMounted', $f, Object.keys(this.cacheRule).indexOf(key));
209
198
  });
210
199
  },
@@ -320,6 +309,7 @@ export default {
320
309
  input: ($f) => this.add$f(index, key, $f)
321
310
  }}
322
311
  props={{
312
+ disabled,
323
313
  inFor: true,
324
314
  value: this.field ? {[this.field]: this._value(this.value[index])} : this.value[index],
325
315
  rule,