|
@@ -47,7 +47,7 @@ |
|
@@ -47,7 +47,7 @@ |
47
|
transformFile?: (file: File) => string | Blob | Promise<string | Blob | File>;
|
47
|
transformFile?: (file: File) => string | Blob | Promise<string | Blob | File>;
|
48
|
api: (file: string | Blob | Promise<string | Blob | File>) => Promise<FileItem>;
|
48
|
api: (file: string | Blob | Promise<string | Blob | File>) => Promise<FileItem>;
|
49
|
overFileLimitHiddenUploadEntry?: boolean;
|
49
|
overFileLimitHiddenUploadEntry?: boolean;
|
50
|
- beforeUpload: (file: File, fileList: File[]) => boolean;
|
50
|
+ beforeUpload?: (file: File, fileList: File[]) => boolean;
|
51
|
}>(),
|
51
|
}>(),
|
52
|
{
|
52
|
{
|
53
|
fileList: () => [],
|
53
|
fileList: () => [],
|
|
@@ -146,7 +146,7 @@ |
|
@@ -146,7 +146,7 @@ |
146
|
:remove="handleRemove"
|
146
|
:remove="handleRemove"
|
147
|
>
|
147
|
>
|
148
|
<Spin
|
148
|
<Spin
|
149
|
- v-if="!(fileList.length >= getMaxFileLimit) || overFileLimitHiddenUploadEntry"
|
149
|
+ v-if="!(fileList.length >= getMaxFileLimit && overFileLimitHiddenUploadEntry)"
|
150
|
:spinning="loading"
|
150
|
:spinning="loading"
|
151
|
>
|
151
|
>
|
152
|
<div class="w-full h-full flex flex-col justify-center content-center">
|
152
|
<div class="w-full h-full flex flex-col justify-center content-center">
|