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;