wuhongyu 5 년 전
부모
커밋
515e36024e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/room.js

+ 1 - 1
src/store/room.js

@@ -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;