guhongwei 3 năm trước cách đây
mục cha
commit
f5834a91e0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/store/patent/disclosure.js

+ 1 - 1
src/store/patent/disclosure.js

@@ -22,7 +22,7 @@ const actions = {
     return res;
     return res;
   },
   },
   async update({ commit }, { id, ...info } = {}) {
   async update({ commit }, { id, ...info } = {}) {
-    const res = await this.$axios.$post(`${api.interface}/${id}`, { ...info });
+    const res = await this.$axios.$post(`${api.interface}/update/${id}`, { ...info });
     return res;
     return res;
   },
   },
   async delete({ commit }, payload) {
   async delete({ commit }, payload) {