guhongwei 3 년 전
부모
커밋
c891ade570
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/store/patent/patentwarning.js

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

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