guhongwei преди 3 години
родител
ревизия
f5834a91e0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/store/patent/disclosure.js

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

@@ -22,7 +22,7 @@ const actions = {
     return res;
   },
   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;
   },
   async delete({ commit }, payload) {