@form-create/component-antdv-group 2.5.22 → 2.5.27

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.22",
3
+ "version": "2.5.27",
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.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": "43cbd7f5342d014a4e6de877304ad613b1433e0b"
42
+ "gitHead": "ca02f3c2b7570705ec3676361ec62350495f6481"
43
43
  }
package/src/component.jsx CHANGED
@@ -282,16 +282,22 @@ export default {
282
282
  return <ARow align="middle" type="flex" key={key}
283
283
  style="border-bottom:1px dashed #d9d9d9;margin-bottom:10px;">
284
284
  <ACol span={button ? 20 : 24}><Type
285
- key={key} inFor={true}
285
+ key={key}
286
286
  on={{
287
287
  'update:value': (formData) => this.formData(key, formData),
288
288
  'emit-event': (name, ...args) => this.emitEvent(name, args, index, key),
289
289
  input: ($f) => this.add$f(index, key, $f)
290
290
  }}
291
- value={this.field ? {[this.field]: this._value(this.value[index])} : this.value[index]}
292
- rule={rule}
293
- option={options} extendOption={true}/></ACol>
294
- {button ? <ACol span={2} pull={1} push={1}>{this.makeIcon(keys.length, index, key)}</ACol> : null}
291
+ props={{
292
+ inFor: true,
293
+ value: this.field ? {[this.field]: this._value(this.value[index])} : this.value[index],
294
+ rule,
295
+ option: options,
296
+ extendOption: true
297
+ }}
298
+ /></ACol>
299
+ {button ? <ACol
300
+ props={{span: 1, pull: 1, push: 1}}>{this.makeIcon(keys.length, index, key)}</ACol> : null}
295
301
  </ARow>
296
302
  })}</div>
297
303
  }