@v2coding/ui 1.1.13 → 1.1.14
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/v2coding-ui.ssr.js
CHANGED
|
@@ -5509,9 +5509,10 @@ var script$o = {
|
|
|
5509
5509
|
} else {
|
|
5510
5510
|
var uploadServer = Upload[this.uploadType] || Upload.default;
|
|
5511
5511
|
var filename = (file.name || '').replace(/,/, '_');
|
|
5512
|
-
|
|
5512
|
+
var params = this.params || {};
|
|
5513
|
+
uploadServer(this.url, _objectSpread2({
|
|
5513
5514
|
filename: filename
|
|
5514
|
-
}, {
|
|
5515
|
+
}, params), {
|
|
5515
5516
|
file: file,
|
|
5516
5517
|
filename: this.filename
|
|
5517
5518
|
}, this.transformRequest).then(function (result) {
|
|
@@ -5634,8 +5635,8 @@ var __vue_render__$o = function __vue_render__() {
|
|
|
5634
5635
|
class: {
|
|
5635
5636
|
disabled: _vm.uploading
|
|
5636
5637
|
}
|
|
5637
|
-
}, [_vm._v(_vm._s(_vm.labelText))])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-
|
|
5638
|
-
return !!url ? "<div class=\"file\" data-v-
|
|
5638
|
+
}, [_vm._v(_vm._s(_vm.labelText))])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-50ad7f34>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
|
|
5639
|
+
return !!url ? "<div class=\"file\" data-v-50ad7f34><i class=\"el-icon-document\" data-v-50ad7f34> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\"" + _vm._ssrAttr("title", _vm.getFileName(url)) + " data-v-50ad7f34>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-50ad7f34><i class=\"el-icon-close\" data-v-50ad7f34></i></span>" : "<!---->") + "</div>" : "<!---->";
|
|
5639
5640
|
}) + "</div>")], 2);
|
|
5640
5641
|
};
|
|
5641
5642
|
|
|
@@ -5644,8 +5645,8 @@ var __vue_staticRenderFns__$o = [];
|
|
|
5644
5645
|
|
|
5645
5646
|
var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
|
|
5646
5647
|
if (!inject) return;
|
|
5647
|
-
inject("data-v-
|
|
5648
|
-
source: ".ui-file-upload-field[data-v-
|
|
5648
|
+
inject("data-v-50ad7f34_0", {
|
|
5649
|
+
source: ".ui-file-upload-field[data-v-50ad7f34]{width:100%}.ui-file-upload-field .uploader[data-v-50ad7f34]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-50ad7f34] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-50ad7f34] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-50ad7f34]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-50ad7f34]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-50ad7f34]{max-width:100%}.ui-file-upload-field .files .file[data-v-50ad7f34]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;display:grid;grid-template-columns:14px auto 28px;align-items:center;max-width:100%}.ui-file-upload-field .files .file a[data-v-50ad7f34]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-50ad7f34]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-50ad7f34]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-50ad7f34]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-50ad7f34]{color:#409eff;visibility:visible}",
|
|
5649
5650
|
map: undefined,
|
|
5650
5651
|
media: undefined
|
|
5651
5652
|
});
|
|
@@ -5653,10 +5654,10 @@ var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
|
|
|
5653
5654
|
/* scoped */
|
|
5654
5655
|
|
|
5655
5656
|
|
|
5656
|
-
var __vue_scope_id__$o = "data-v-
|
|
5657
|
+
var __vue_scope_id__$o = "data-v-50ad7f34";
|
|
5657
5658
|
/* module identifier */
|
|
5658
5659
|
|
|
5659
|
-
var __vue_module_identifier__$o = "data-v-
|
|
5660
|
+
var __vue_module_identifier__$o = "data-v-50ad7f34";
|
|
5660
5661
|
/* functional template */
|
|
5661
5662
|
|
|
5662
5663
|
var __vue_is_functional_template__$o = false;
|