wuhongyu 4 years ago
parent
commit
515e36024e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/room.js

+ 1 - 1
src/store/room.js

@@ -27,7 +27,7 @@ const actions = {
     return res;
     return res;
   },
   },
   async update({ commit }, { id, ...info } = {}) {
   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,
       ...info,
     });
     });
     return res;
     return res;