revert hacky fix
This commit is contained in:
parent
ed164c889a
commit
0fdc63cea4
1 changed files with 0 additions and 1 deletions
|
@ -92,7 +92,6 @@ const store = new Vuex.Store({
|
||||||
let file = new File([blob], 'dot.png', blob);
|
let file = new File([blob], 'dot.png', blob);
|
||||||
delete item.dataImage;
|
delete item.dataImage;
|
||||||
item.image = file;
|
item.image = file;
|
||||||
item.cid = item.cid || 1;
|
|
||||||
var formData = new FormData();
|
var formData = new FormData();
|
||||||
for ( var key in item ) formData.append(key, item[key]);
|
for ( var key in item ) formData.append(key, item[key]);
|
||||||
const { data } = await axios.post(`/1/${getters.getEventSlug}/item`, formData, {
|
const { data } = await axios.post(`/1/${getters.getEventSlug}/item`, formData, {
|
||||||
|
|
Loading…
Reference in a new issue