iov-pro-components 0.0.113 → 0.0.114
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/lib/iov-pro-components.min.js +25 -10
- package/package.json +1 -1
|
@@ -11403,11 +11403,9 @@ var __vue_render__$b = function __vue_render__() {
|
|
|
11403
11403
|
}
|
|
11404
11404
|
}, [_vm.title ? _c("div", {
|
|
11405
11405
|
staticClass: "iov-pro-guide__title"
|
|
11406
|
-
}, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm._v(" "), _vm._t("message",
|
|
11407
|
-
|
|
11408
|
-
|
|
11409
|
-
}, [_vm._v(_vm._s(_vm.message))]) : _vm._e()];
|
|
11410
|
-
}), _vm._v(" "), _vm.showConfirmButton ? _c("div", {
|
|
11406
|
+
}, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm._v(" "), _vm._t("message", [_vm.message ? _c("div", {
|
|
11407
|
+
staticClass: "iov-pro-guide__message"
|
|
11408
|
+
}, [_vm._v(_vm._s(_vm.message))]) : _vm._e()]), _vm._v(" "), _vm.showConfirmButton ? _c("div", {
|
|
11411
11409
|
staticClass: "iov-pro-guide__operation"
|
|
11412
11410
|
}, [_c("el-button", {
|
|
11413
11411
|
attrs: {
|
|
@@ -11418,7 +11416,7 @@ var __vue_render__$b = function __vue_render__() {
|
|
|
11418
11416
|
on: {
|
|
11419
11417
|
click: function click($event) {
|
|
11420
11418
|
$event.stopPropagation();
|
|
11421
|
-
return _vm.onHideGuide
|
|
11419
|
+
return _vm.onHideGuide($event);
|
|
11422
11420
|
}
|
|
11423
11421
|
}
|
|
11424
11422
|
}, [_vm._v(_vm._s(_vm.confirmButtonText))])], 1) : _vm._e(), _vm._v(" "), _c("div", {
|
|
@@ -12736,7 +12734,7 @@ var __vue_render__$7 = function () {
|
|
|
12736
12734
|
if ($event.target !== $event.currentTarget) {
|
|
12737
12735
|
return null
|
|
12738
12736
|
}
|
|
12739
|
-
return _vm.handleMaskClick
|
|
12737
|
+
return _vm.handleMaskClick($event)
|
|
12740
12738
|
},
|
|
12741
12739
|
},
|
|
12742
12740
|
}),
|
|
@@ -24391,7 +24389,8 @@ var script = {
|
|
|
24391
24389
|
data: function data() {
|
|
24392
24390
|
return {
|
|
24393
24391
|
modelValue: [],
|
|
24394
|
-
uploading: false
|
|
24392
|
+
uploading: false,
|
|
24393
|
+
uploadFileList: []
|
|
24395
24394
|
};
|
|
24396
24395
|
},
|
|
24397
24396
|
computed: {
|
|
@@ -24475,6 +24474,18 @@ var script = {
|
|
|
24475
24474
|
}
|
|
24476
24475
|
// 返回格式化规则
|
|
24477
24476
|
return this.modelFormater;
|
|
24477
|
+
},
|
|
24478
|
+
/**
|
|
24479
|
+
* ElUpload需要的文件列表
|
|
24480
|
+
*/
|
|
24481
|
+
fileList: function fileList() {
|
|
24482
|
+
var _this$uploadFileList;
|
|
24483
|
+
// 如果有上传文件
|
|
24484
|
+
if (((_this$uploadFileList = this.uploadFileList) === null || _this$uploadFileList === void 0 ? void 0 : _this$uploadFileList.length) > 0) {
|
|
24485
|
+
return this.uploadFileList;
|
|
24486
|
+
}
|
|
24487
|
+
// 返回当前双向绑定的数据
|
|
24488
|
+
return this.modelValue;
|
|
24478
24489
|
}
|
|
24479
24490
|
},
|
|
24480
24491
|
watch: {
|
|
@@ -24667,6 +24678,10 @@ var script = {
|
|
|
24667
24678
|
this.onChangeModelValue(fileList);
|
|
24668
24679
|
}
|
|
24669
24680
|
}
|
|
24681
|
+
// 如果有正在上传的文件,则记录当前fileList
|
|
24682
|
+
this.uploadFileList = fileList.every(function (f) {
|
|
24683
|
+
return f.status === 'success';
|
|
24684
|
+
}) ? [] : fileList;
|
|
24670
24685
|
// 等待数据双向绑定成功后触发表单事件
|
|
24671
24686
|
this.$nextTick(function () {
|
|
24672
24687
|
var _this$$parent, _this$$parent2;
|
|
@@ -24816,7 +24831,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
24816
24831
|
ref: "uploader",
|
|
24817
24832
|
staticClass: "iov-pro-uploader",
|
|
24818
24833
|
attrs: {
|
|
24819
|
-
"file-list": _vm.
|
|
24834
|
+
"file-list": _vm.fileList,
|
|
24820
24835
|
action: _vm.action,
|
|
24821
24836
|
data: _vm.data,
|
|
24822
24837
|
drag: _vm.drag,
|
|
@@ -25099,7 +25114,7 @@ var install = function install(Vue, componentConfig) {
|
|
|
25099
25114
|
};
|
|
25100
25115
|
var index = {
|
|
25101
25116
|
install: install,
|
|
25102
|
-
version: '0.0.
|
|
25117
|
+
version: '0.0.114',
|
|
25103
25118
|
BackTop: __vue_component__$B,
|
|
25104
25119
|
ColumnTooltip: __vue_component__$A,
|
|
25105
25120
|
Currency: __vue_component__$z,
|