|
@@ -22,7 +22,7 @@ const actions = {
|
|
|
return res;
|
|
|
},
|
|
|
async update({ commit }, { id, ...info } = {}) {
|
|
|
- const res = await this.$axios.$post(`${api.interface}/${id}`, { ...info });
|
|
|
+ const res = await this.$axios.$post(`${api.interface}/update/${id}`, { ...info });
|
|
|
return res;
|
|
|
},
|
|
|
async delete({ commit }, payload) {
|