@form-create/component-antdv-group 2.5.32 → 2.5.35

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.32",
3
+ "version": "2.5.35",
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.31"
33
+ "@form-create/utils": "^2.5.35"
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": "8b4a977f33789d6866a98ecd2559858a4d5a20ec"
42
+ "gitHead": "1cea842d9380bbc9f3bc01470e7e17f5a952dffb"
43
43
  }
package/src/component.jsx CHANGED
@@ -129,6 +129,7 @@ export default {
129
129
  for (let i = len; i < 0; i++) {
130
130
  this.addRule(n.length + i);
131
131
  }
132
+ this.sort = Object.keys(this.cacheRule);
132
133
  for (let i = 0; i < total; i++) {
133
134
  this.setValue(keys[i], n[i]);
134
135
  }
@@ -138,12 +139,10 @@ export default {
138
139
  this.removeRule(keys[total - i - 1]);
139
140
  }
140
141
  }
142
+ this.sort = Object.keys(this.cacheRule);
141
143
  n.forEach((val, i) => {
142
144
  this.setValue(keys[i], n[i]);
143
145
  });
144
- if (o.length && !n.length) {
145
- this.input([]);
146
- }
147
146
  }
148
147
  }
149
148
  },
@@ -181,7 +180,7 @@ export default {
181
180
  return;
182
181
  }
183
182
  this.cache(key, value);
184
- $f.coverValue(value || {});
183
+ $f && $f.coverValue(value || {});
185
184
  },
186
185
  addRule(i, emit) {
187
186
  const rule = this.formCreateInject.form.copyRules(this.formRule);