@form-create/component-elm-group 2.5.26 → 2.5.28

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-elm-group",
3
- "version": "2.5.26",
3
+ "version": "2.5.28",
4
4
  "description": "@form-create/element-ui 内置组件",
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.18"
33
+ "@form-create/utils": "^2.5.27"
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": "a98b4876f74f56f070980b81834c7fa10e23b2e9"
42
+ "gitHead": "441d2d1b3ce8b293a0557c869c8f72f4de9ffac5"
43
43
  }
package/src/component.jsx CHANGED
@@ -243,7 +243,7 @@ export default {
243
243
  if (index === 0) {
244
244
  return [(this.max !== 0 && total >= this.max) ? null : this.addIcon(key), (this.min === 0 || total > this.min) ? this.delIcon(index, key) : null];
245
245
  }
246
- if (index >= this.min) {
246
+ if (total > this.min) {
247
247
  return this.delIcon(index, key);
248
248
  }
249
249
  },