@form-create/element-ui 2.7.10 → 2.7.11
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/dist/form-create.esm.js +245 -243
- package/dist/form-create.js +3 -3
- package/dist/form-create.min.js +3 -3
- package/package.json +4 -4
- package/src/core/manager.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@form-create/element-ui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.11",
|
|
4
4
|
"description": "Element UI版本低代码表单|FormCreate 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的低代码表单生成组件。支持6个UI框架,适配移动端,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。",
|
|
5
5
|
"main": "./dist/form-create.min.js",
|
|
6
6
|
"module": "./dist/form-create.esm.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@form-create/component-elm-radio": "^2.7.8",
|
|
51
51
|
"@form-create/component-elm-select": "^2.7.8",
|
|
52
52
|
"@form-create/component-elm-tree": "^2.7.8",
|
|
53
|
-
"@form-create/component-elm-upload": "^2.7.
|
|
53
|
+
"@form-create/component-elm-upload": "^2.7.11",
|
|
54
54
|
"@form-create/component-subform": "^2.7.1",
|
|
55
|
-
"@form-create/core": "^2.7.
|
|
55
|
+
"@form-create/core": "^2.7.11",
|
|
56
56
|
"@form-create/utils": "^2.7.8"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"v-jsoneditor": "^1.4.2",
|
|
66
66
|
"vue": "2.7"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "2a1fd9b61d376211c2b174284f6c0edbf0a5d889"
|
|
69
69
|
}
|
package/src/core/manager.js
CHANGED
|
@@ -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',
|