wuhongyu 4 年之前
父节点
当前提交
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;