Commit db8c25e5 authored by Kemm23's avatar Kemm23

save code

parent b0a0b8c1
...@@ -472,7 +472,9 @@ export default { ...@@ -472,7 +472,9 @@ export default {
} }
fd.append('name', this.eName) fd.append('name', this.eName)
fd.append('ordering', this.eOrdering) fd.append('ordering', this.eOrdering)
if (typeof this.eImage !== 'string') {
fd.append('images', this.eImage) fd.append('images', this.eImage)
}
try { try {
this.$axios this.$axios
.post(`categories/update/${this?.eID}`, .post(`categories/update/${this?.eID}`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment