iov-pro-components 0.0.20 → 0.0.21
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.
|
@@ -8164,6 +8164,11 @@ var script$k = {
|
|
|
8164
8164
|
default: {
|
|
8165
8165
|
type: [Array, Object],
|
|
8166
8166
|
default: null
|
|
8167
|
+
},
|
|
8168
|
+
// 是否隐藏loading
|
|
8169
|
+
hideLoading: {
|
|
8170
|
+
type: Boolean,
|
|
8171
|
+
default: false
|
|
8167
8172
|
}
|
|
8168
8173
|
},
|
|
8169
8174
|
data: function data() {
|
|
@@ -8229,7 +8234,7 @@ var script$k = {
|
|
|
8229
8234
|
return _context.abrupt("return");
|
|
8230
8235
|
case 6:
|
|
8231
8236
|
// 标记当前正在加载新接口
|
|
8232
|
-
_this.loading =
|
|
8237
|
+
_this.loading = !_this.hideLoading;
|
|
8233
8238
|
// 前拷贝当前入参数据
|
|
8234
8239
|
_this.oldParams = cloneDeep(_this.params);
|
|
8235
8240
|
_context.prev = 8;
|
|
@@ -8583,8 +8588,16 @@ var script$j = {
|
|
|
8583
8588
|
var itemClone = cloneDeep(item);
|
|
8584
8589
|
// 如果有options方法
|
|
8585
8590
|
var options = itemClone.options;
|
|
8591
|
+
// 取出相同名称的表单项
|
|
8592
|
+
var sameNameItems = items.filter(function (formItem) {
|
|
8593
|
+
return isEqual(formItem.name, item.name);
|
|
8594
|
+
});
|
|
8586
8595
|
// 增加key字段
|
|
8587
8596
|
itemClone.key = Array.isArray(item.name) ? item.name.join(',') : item.name;
|
|
8597
|
+
// 如果有相同名称的表单项,则设置key
|
|
8598
|
+
if (sameNameItems.length > 1) {
|
|
8599
|
+
itemClone.key += "".concat(sameNameItems.indexOf(item));
|
|
8600
|
+
}
|
|
8588
8601
|
// 将类型转换成大小写
|
|
8589
8602
|
itemClone.type = toUpperCamelCase(item.type);
|
|
8590
8603
|
// 新增的optionsCallback方法
|
|
@@ -19910,7 +19923,7 @@ var install = function install(Vue, componentConfig) {
|
|
|
19910
19923
|
};
|
|
19911
19924
|
var index = {
|
|
19912
19925
|
install: install,
|
|
19913
|
-
version: '0.0.
|
|
19926
|
+
version: '0.0.21',
|
|
19914
19927
|
ColumnTooltip: __vue_component__$t,
|
|
19915
19928
|
Description: __vue_component__$q,
|
|
19916
19929
|
DialogSelect: __vue_component__$p,
|