This commit is contained in:
Viet An
2026-06-07 09:22:53 +07:00
parent d17bc0583c
commit ee914cc382
8 changed files with 653 additions and 385 deletions

View File

@@ -199,7 +199,7 @@ export default {
if (files.length === 0) return;
const file = files.item(0);
let thefile = this.$upload(file, "file", 1);
const thefile = this.$upload(file, "file", 1);
if (thefile.error) {
this.$snackbar(thefile.text, "Error");
@@ -214,7 +214,7 @@ export default {
this.msgInfo.push({ message, type: "error" });
return (this.isloading = false);
}
let result = await this.$insertapi("upload", { data: thefile.form, notify: false });
const result = await this.$insertapi("upload", { data: thefile.form, notify: false });
if (result === "error") {
const message = this.$find(
this.$store.syspara,