@form-create/element-ui 3.2.37 → 3.2.38
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 +15 -11
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +15 -11
- package/dist/form-create.min.js +2 -2
- package/package.json +3 -3
package/dist/form-create.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @form-create/element-ui v3.2.
|
|
2
|
+
* @form-create/element-ui v3.2.38
|
|
3
3
|
* (c) 2018-2026 xaboy
|
|
4
4
|
* Github https://github.com/xaboy/form-create
|
|
5
5
|
* Released under the MIT License.
|
|
@@ -2158,35 +2158,39 @@
|
|
|
2158
2158
|
|
|
2159
2159
|
var canMoveUp = index > 0;
|
|
2160
2160
|
var canMoveDown = index < total - 1;
|
|
2161
|
+
var btn = [];
|
|
2161
2162
|
|
|
2162
2163
|
if (!canMoveUp && !canMoveDown) {
|
|
2163
|
-
return
|
|
2164
|
+
return btn;
|
|
2164
2165
|
}
|
|
2165
2166
|
|
|
2166
|
-
if (canMoveUp && canMoveDown) {
|
|
2167
|
+
if (this.type === 'card' && canMoveUp && canMoveDown) {
|
|
2167
2168
|
// 显示合并的上下箭头按钮
|
|
2168
|
-
|
|
2169
|
+
btn.push(vue.createVNode("div", {
|
|
2169
2170
|
"class": "_fc-group-btn _fc-group-sort"
|
|
2170
2171
|
}, [vue.createVNode("div", {
|
|
2171
|
-
"class": "_fc-group-sort-up",
|
|
2172
|
+
"class": " _fc-group-sort-up",
|
|
2172
2173
|
"onClick": function onClick() {
|
|
2173
2174
|
return _this12.changeSort(index, -1);
|
|
2174
2175
|
}
|
|
2175
2176
|
}, null), vue.createVNode("div", {
|
|
2176
|
-
"class": "_fc-group-sort-down",
|
|
2177
|
+
"class": " _fc-group-sort-down",
|
|
2177
2178
|
"onClick": function onClick() {
|
|
2178
2179
|
return _this12.changeSort(index, 1);
|
|
2179
2180
|
}
|
|
2180
|
-
}, null)]);
|
|
2181
|
+
}, null)]));
|
|
2182
|
+
return btn;
|
|
2181
2183
|
}
|
|
2182
2184
|
|
|
2183
2185
|
if (canMoveUp) {
|
|
2184
|
-
|
|
2186
|
+
btn.push(this.sortUpIcon(index));
|
|
2185
2187
|
}
|
|
2186
2188
|
|
|
2187
2189
|
if (canMoveDown) {
|
|
2188
|
-
|
|
2190
|
+
btn.push(this.sortDownIcon(index));
|
|
2189
2191
|
}
|
|
2192
|
+
|
|
2193
|
+
return btn;
|
|
2190
2194
|
},
|
|
2191
2195
|
makeIcon: function makeIcon(total, index, key) {
|
|
2192
2196
|
var _this13 = this;
|
|
@@ -2218,7 +2222,7 @@
|
|
|
2218
2222
|
var sortBtn = this.sortIcon(index, total);
|
|
2219
2223
|
|
|
2220
2224
|
if (sortBtn) {
|
|
2221
|
-
btn.push(sortBtn);
|
|
2225
|
+
btn.push.apply(btn, _toConsumableArray(sortBtn));
|
|
2222
2226
|
}
|
|
2223
2227
|
}
|
|
2224
2228
|
|
|
@@ -9897,7 +9901,7 @@
|
|
|
9897
9901
|
function elmFormCreate() {
|
|
9898
9902
|
return FormCreateFactory({
|
|
9899
9903
|
ui: 'element-ui',
|
|
9900
|
-
version: '3.2.
|
|
9904
|
+
version: '3.2.38',
|
|
9901
9905
|
manager: manager,
|
|
9902
9906
|
extendApi: extendApi,
|
|
9903
9907
|
install: install,
|