wuhongyu 5 vuotta sitten
vanhempi
commit
515e36024e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;