@form-create/element-ui 2.5.11 → 2.5.12

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": "2.5.11",
3
+ "version": "2.5.12",
4
4
  "description": "element-ui动态表单|form-create is a form generation component that can generate dynamic rendering, data collection, verification and submission functions through JSON. Supports 3 UI frameworks, and supports the generation of any Vue components. Built-in 20 kinds of commonly used form components and custom components, no matter how complex forms can be easily handled.",
5
5
  "main": "./dist/form-create.min.js",
6
6
  "module": "./dist/form-create.min.js",
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "homepage": "http://www.form-create.com",
45
45
  "dependencies": {
46
- "@form-create/component-elm-checkbox": "^2.5.11",
46
+ "@form-create/component-elm-checkbox": "^2.5.12",
47
47
  "@form-create/component-elm-frame": "^2.5.11",
48
- "@form-create/component-elm-group": "^2.5.11",
49
- "@form-create/component-elm-radio": "^2.5.11",
50
- "@form-create/component-elm-select": "^2.5.11",
48
+ "@form-create/component-elm-group": "^2.5.12",
49
+ "@form-create/component-elm-radio": "^2.5.12",
50
+ "@form-create/component-elm-select": "^2.5.12",
51
51
  "@form-create/component-elm-tree": "^2.5.11",
52
52
  "@form-create/component-elm-upload": "^2.5.11",
53
- "@form-create/component-subform": "^2.5.10",
54
- "@form-create/core": "^2.5.11",
53
+ "@form-create/component-subform": "^2.5.12",
54
+ "@form-create/core": "^2.5.12",
55
55
  "@form-create/utils": "^2.5.11"
56
56
  },
57
57
  "publishConfig": {
@@ -65,5 +65,5 @@
65
65
  "element-ui": "^2.13.2",
66
66
  "v-jsoneditor": "^1.4.2"
67
67
  },
68
- "gitHead": "ccd7ba699b3a877c9f2f2ec3c58a808128cee914"
68
+ "gitHead": "cc9121b197e8a06d662407f71b923f8462498c58"
69
69
  }
@@ -119,6 +119,7 @@ export default {
119
119
  const item = isFalse(rule.wrap.show) ? children : this.$r(mergeProps([rule.wrap, {
120
120
  props: {
121
121
  labelWidth: labelWidth === void 0 ? labelWidth : toString(labelWidth),
122
+ label: isTitle ? rule.title.title : undefined,
122
123
  ...(rule.wrap || {}),
123
124
  prop: ctx.id,
124
125
  rules: rule.validate,
@@ -140,7 +141,7 @@ export default {
140
141
  const infoProp = rule.info;
141
142
  const isTip = isTooltip(infoProp);
142
143
  const form = this.options.form;
143
- const children = [titleProp.title + (form.labelSuffix || form['label-suffix'] || '')];
144
+ const children = [(titleProp.title || '') + (form.labelSuffix || form['label-suffix'] || '')];
144
145
  const titleFn = (pop) => this.$r(mergeProps([titleProp, {
145
146
  props: titleProp,
146
147
  slot: titleProp.slot || (pop ? (isTip ? 'default' : 'reference') : 'label'),