guhongwei 3 роки тому
батько
коміт
cada2e400f
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      src/store/patent/patentinfo.js

+ 4 - 0
src/store/patent/patentinfo.js

@@ -59,6 +59,10 @@ const actions = {
     });
     return res;
   },
+  async updateUser({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.patentinfo}/updateUser`, payload);
+    return res;
+  },
 };
 export default {
   namespaced: true,