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