@form-create/element-ui 3.2.24 → 3.2.26

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/element-ui",
3
- "version": "3.2.24",
3
+ "version": "3.2.26",
4
4
  "description": "Element Plus版本低代码表单|FormCreate 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的低代码表单生成组件。支持6个UI框架,适配移动端,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。",
5
5
  "main": "./dist/form-create.min.js",
6
6
  "module": "./dist/form-create.esm.js",
@@ -52,9 +52,9 @@
52
52
  "@form-create/component-elm-radio": "^3.2.23",
53
53
  "@form-create/component-elm-select": "^3.2.23",
54
54
  "@form-create/component-elm-tree": "^3.2.23",
55
- "@form-create/component-elm-upload": "^3.2.23",
55
+ "@form-create/component-elm-upload": "^3.2.26",
56
56
  "@form-create/component-subform": "^3.1.34",
57
- "@form-create/core": "^3.2.24",
57
+ "@form-create/core": "^3.2.26",
58
58
  "@form-create/utils": "^3.2.23"
59
59
  },
60
60
  "publishConfig": {
@@ -88,5 +88,5 @@
88
88
  "esm"
89
89
  ]
90
90
  },
91
- "gitHead": "00a9d4f9e7de7767c62131ce5338d1f926f3bfe5"
91
+ "gitHead": "3c3afbf86baa3958dea8af2d9268c4ec869512ad"
92
92
  }
@@ -121,6 +121,8 @@ export default {
121
121
  const isTitle = this.isTitle(rule) && rule.wrap.title !== false;
122
122
  const labelWidth = (!col.labelWidth && !isTitle) ? 0 : col.labelWidth;
123
123
  const {inline, col: _col} = this.rule.props;
124
+ const cls = rule.wrap.class;
125
+ delete rule.wrap.class;
124
126
  delete rule.wrap.title;
125
127
  const item = isFalse(rule.wrap.show) ? children : this.$r(mergeProps([rule.wrap, {
126
128
  props: {
@@ -130,7 +132,7 @@ export default {
130
132
  prop: ctx.id,
131
133
  rules: ctx.injectValidate(),
132
134
  },
133
- class: this.$render.mergeClass(rule.className, 'fc-form-item'),
135
+ class: this.$render.mergeClass(cls || rule.className, 'fc-form-item'),
134
136
  key: `${uni}fi`,
135
137
  ref: ctx.wrapRef,
136
138
  type: 'formItem',