fix build errors

This commit is contained in:
Omar Hussein 2024-03-25 11:22:27 -04:00
parent 461d7a55fc
commit baa55fa46f
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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",