changes
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user