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,