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