@v2coding/ui 1.1.3 → 1.1.4
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
|
@@ -5477,6 +5477,8 @@ var script$o = {
|
|
|
5477
5477
|
_this.handleAttachment(file, url);
|
|
5478
5478
|
}).catch(function () {
|
|
5479
5479
|
_this.uploading = false;
|
|
5480
|
+
|
|
5481
|
+
_this.$message.error('上传失败');
|
|
5480
5482
|
});
|
|
5481
5483
|
}
|
|
5482
5484
|
},
|
|
@@ -5573,8 +5575,8 @@ var __vue_render__$o = function __vue_render__() {
|
|
|
5573
5575
|
class: {
|
|
5574
5576
|
disabled: _vm.uploading
|
|
5575
5577
|
}
|
|
5576
|
-
}, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-
|
|
5577
|
-
return !!url ? "<div class=\"file\" data-v-
|
|
5578
|
+
}, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-9a90eb60>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
|
|
5579
|
+
return !!url ? "<div class=\"file\" data-v-9a90eb60><i class=\"el-icon-document\" data-v-9a90eb60> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\"" + _vm._ssrAttr("title", _vm.getFileName(url)) + " data-v-9a90eb60>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-9a90eb60><i class=\"el-icon-close\" data-v-9a90eb60></i></span>" : "<!---->") + "</div>" : "<!---->";
|
|
5578
5580
|
}) + "</div>")], 2);
|
|
5579
5581
|
};
|
|
5580
5582
|
|
|
@@ -5583,8 +5585,8 @@ var __vue_staticRenderFns__$o = [];
|
|
|
5583
5585
|
|
|
5584
5586
|
var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
|
|
5585
5587
|
if (!inject) return;
|
|
5586
|
-
inject("data-v-
|
|
5587
|
-
source: ".ui-file-upload-field[data-v-
|
|
5588
|
+
inject("data-v-9a90eb60_0", {
|
|
5589
|
+
source: ".ui-file-upload-field[data-v-9a90eb60]{width:100%}.ui-file-upload-field .uploader[data-v-9a90eb60]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-9a90eb60] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-9a90eb60] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-9a90eb60]{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-9a90eb60]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-9a90eb60]{max-width:100%}.ui-file-upload-field .files .file[data-v-9a90eb60]{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-9a90eb60]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-9a90eb60]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-9a90eb60]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-9a90eb60]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-9a90eb60]{color:#409eff;visibility:visible}",
|
|
5588
5590
|
map: undefined,
|
|
5589
5591
|
media: undefined
|
|
5590
5592
|
});
|
|
@@ -5592,10 +5594,10 @@ var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
|
|
|
5592
5594
|
/* scoped */
|
|
5593
5595
|
|
|
5594
5596
|
|
|
5595
|
-
var __vue_scope_id__$o = "data-v-
|
|
5597
|
+
var __vue_scope_id__$o = "data-v-9a90eb60";
|
|
5596
5598
|
/* module identifier */
|
|
5597
5599
|
|
|
5598
|
-
var __vue_module_identifier__$o = "data-v-
|
|
5600
|
+
var __vue_module_identifier__$o = "data-v-9a90eb60";
|
|
5599
5601
|
/* functional template */
|
|
5600
5602
|
|
|
5601
5603
|
var __vue_is_functional_template__$o = false;
|