@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.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/auto-import.js +83 -0
- package/dist/form-create.esm.js +524 -468
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +523 -467
- package/dist/form-create.min.js +2 -2
- package/package.json +18 -15
- package/src/core/alias.js +1 -1
- package/src/core/config.js +0 -1
- package/src/core/index.js +8 -1
- package/src/core/maker.js +3 -3
- package/src/core/manager.js +9 -4
package/src/core/manager.js
CHANGED
|
@@ -72,7 +72,7 @@ export default {
|
|
|
72
72
|
info: {
|
|
73
73
|
trigger: 'hover',
|
|
74
74
|
placement: 'top-start',
|
|
75
|
-
icon:
|
|
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: '
|
|
165
|
-
|
|
164
|
+
type: 'ElIcon',
|
|
165
|
+
style: 'top:2px',
|
|
166
166
|
key: `${uni}i`
|
|
167
|
-
}, {
|
|
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;
|