@form-create/element-ui 3.0.1 → 3.1.0

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.
@@ -72,7 +72,7 @@ export default {
72
72
  info: {
73
73
  trigger: 'hover',
74
74
  placement: 'top-start',
75
- icon: 'el-icon-warning',
75
+ icon: true,
76
76
  },
77
77
  title: {},
78
78
  col: {span: 24},
@@ -161,10 +161,14 @@ export default {
161
161
 
162
162
  children[infoProp.align !== 'left' ? 'unshift' : 'push'](this.$r(mergeProps([infoProp, prop]), {
163
163
  [titleProp.slot || (isTip ? 'default' : 'reference')]: () => this.$r({
164
- type: 'i',
165
- class: infoProp.icon === true ? 'el-icon-warning' : infoProp.icon,
164
+ type: 'ElIcon',
165
+ style: 'top:2px',
166
166
  key: `${uni}i`
167
- }, {}, true)
167
+ }, {
168
+ default: () => this.$r({
169
+ type: infoProp.icon === true ? 'warning' : infoProp.icon
170
+ })
171
+ }, true)
168
172
  }));
169
173
  }
170
174
 
@@ -216,6 +220,7 @@ export default {
216
220
  key: `${this.key}fc`
217
221
  }, [item]);
218
222
  },
223
+
219
224
  makeResetBtn() {
220
225
  const resetBtn = {...this.options.resetBtn};
221
226
  const innerText = resetBtn.innerText;