Merge branch 'vue3' into vue3
This commit is contained in:
commit
461d7a55fc
@ -51,8 +51,7 @@ export async function upload(
|
|||||||
clearInterval(CURRENT_UPLOAD_LIST[filePath].interval);
|
clearInterval(CURRENT_UPLOAD_LIST[filePath].interval);
|
||||||
}
|
}
|
||||||
delete CURRENT_UPLOAD_LIST[filePath];
|
delete CURRENT_UPLOAD_LIST[filePath];
|
||||||
reject("Upload failed: " + error);
|
reject(new Error(`Upload failed: ${error.message}`));
|
||||||
},
|
|
||||||
onProgress: function (bytesUploaded) {
|
onProgress: function (bytesUploaded) {
|
||||||
const fileData = CURRENT_UPLOAD_LIST[filePath];
|
const fileData = CURRENT_UPLOAD_LIST[filePath];
|
||||||
fileData.currentBytesUploaded = bytesUploaded;
|
fileData.currentBytesUploaded = bytesUploaded;
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<ModalsContainer />
|
||||||
<ModalsContainer />
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user