changes
This commit is contained in:
@@ -129,7 +129,7 @@ export default {
|
||||
form.append("type", "file");
|
||||
form.append("size", this.selected.size);
|
||||
form.append("user", this.$store.state.login.id);
|
||||
let result = await this.$insertapi("upload", form);
|
||||
let result = await this.$insertapi("upload", { data: form });
|
||||
this.loading = false;
|
||||
if (result === "error") return;
|
||||
this.$emit("modalevent", { name: "image", data: result.rows[0] });
|
||||
|
||||
Reference in New Issue
Block a user