guhongwei 3 éve
szülő
commit
4b33ac1a80
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      src/store/personal.js

+ 4 - 0
src/store/personal.js

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