changes
This commit is contained in:
@@ -83,7 +83,7 @@ export default {
|
||||
form.append("type", "image");
|
||||
form.append("size", 100);
|
||||
form.append("user", this.$store.state.login.id);
|
||||
let result = await this.$insertapi("upload", form);
|
||||
let result = await this.$insertapi("upload", { data: form });
|
||||
if (result === "error") return;
|
||||
let row = result.rows[0];
|
||||
const file = new File([blod], name, { type: "image/png" });
|
||||
|
||||
Reference in New Issue
Block a user