This commit is contained in:
Viet An
2026-06-04 13:57:27 +07:00
parent 2981d9790a
commit 2a1f85c2af
44 changed files with 99 additions and 102 deletions

View File

@@ -56,7 +56,7 @@ if (!found) upload();
async function doUpload(v, i) {
const file = props.files[i];
const rs = await $insertapi("upload", file.form, undefined, false);
const rs = await $insertapi("upload", { data: file.form, notify: false });
v.status = rs === "error" ? "error" : "success";
vfiles.value[i] = v;
const obj = rs.rows[0];