fix build errors
This commit is contained in:
parent
461d7a55fc
commit
baa55fa46f
@ -52,6 +52,7 @@ export async function upload(
|
|||||||
}
|
}
|
||||||
delete CURRENT_UPLOAD_LIST[filePath];
|
delete CURRENT_UPLOAD_LIST[filePath];
|
||||||
reject(new Error(`Upload failed: ${error.message}`));
|
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;
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const vfm = createVfm();
|
|||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
|
|
||||||
app.component(VueNumberInput.name, VueNumberInput);
|
app.component(VueNumberInput.name || "vue-number-input", VueNumberInput);
|
||||||
app.use(VueLazyload);
|
app.use(VueLazyload);
|
||||||
app.use(Toast, {
|
app.use(Toast, {
|
||||||
transition: "Vue-Toastification__bounce",
|
transition: "Vue-Toastification__bounce",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user