@newview/file-ui 1.1.24 → 1.1.25
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/README.md +3 -0
- package/dist/file-ui.js +5 -7
- package/dist/file-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/file-ui.js
CHANGED
|
@@ -19538,7 +19538,7 @@ class UploadFileInstance2 extends BaseInstance {
|
|
|
19538
19538
|
}
|
|
19539
19539
|
//#endregion 业务逻辑 文件预览 END
|
|
19540
19540
|
}
|
|
19541
|
-
const
|
|
19541
|
+
const UploadFileList_vue_vue_type_style_index_0_scoped_788854bb_lang = "";
|
|
19542
19542
|
const _hoisted_1 = { class: "uploadFileList" };
|
|
19543
19543
|
const _hoisted_2 = { class: "up-btn-box" };
|
|
19544
19544
|
const _hoisted_3 = { class: "nv-flex-1" };
|
|
@@ -19579,14 +19579,12 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19579
19579
|
"on-success": _ctx.doSuccess,
|
|
19580
19580
|
"on-format-error": _ctx.doFormatError,
|
|
19581
19581
|
"on-exceeded-size": _ctx.doMaxSize,
|
|
19582
|
-
"before-upload": _ctx.doBeforeUpload
|
|
19583
|
-
style: { "display": "inline-block", "width": "54px" }
|
|
19582
|
+
"before-upload": _ctx.doBeforeUpload
|
|
19584
19583
|
}, {
|
|
19585
19584
|
default: withCtx(() => [
|
|
19586
19585
|
_ctx.isShowUpBtn ? (openBlock(), createBlock(_component_Button, {
|
|
19587
19586
|
key: 0,
|
|
19588
|
-
type: "primary"
|
|
19589
|
-
size: "small"
|
|
19587
|
+
type: "primary"
|
|
19590
19588
|
}, {
|
|
19591
19589
|
default: withCtx(() => [
|
|
19592
19590
|
createTextVNode("上传")
|
|
@@ -19598,8 +19596,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19598
19596
|
}, 1032, ["multiple", "format", "max-size", "action", "headers", "data", "on-success", "on-format-error", "on-exceeded-size", "before-upload"])) : createCommentVNode("", true),
|
|
19599
19597
|
!_ctx.isShowtrash ? (openBlock(), createBlock(_component_Button, {
|
|
19600
19598
|
key: 1,
|
|
19599
|
+
style: { "margin-left": "8px" },
|
|
19601
19600
|
type: "primary",
|
|
19602
|
-
size: "small",
|
|
19603
19601
|
onClick: _ctx.uploadGridSave
|
|
19604
19602
|
}, {
|
|
19605
19603
|
default: withCtx(() => [
|
|
@@ -19630,7 +19628,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19630
19628
|
}, null, 8, ["modelValue", "preview-list", "preview-index", "file-info"])
|
|
19631
19629
|
]);
|
|
19632
19630
|
}
|
|
19633
|
-
const UploadFileList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
19631
|
+
const UploadFileList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-788854bb"]]);
|
|
19634
19632
|
const propDefine = {
|
|
19635
19633
|
onlyView: {
|
|
19636
19634
|
// 是否只读
|