guhongwei il y a 3 ans
Parent
commit
16a119163f
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/store/patent/patentinfo.js

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

@@ -63,6 +63,11 @@ const actions = {
     const res = await this.$axios.$post(`${api.patentinfo}/updateUser`, payload);
     return res;
   },
+  // 批量删除
+  async deleteMany({ commit }, payload) {
+    const res = await this.$axios.$delete(`${api.patentinfo}/deleteMany`, null, payload);
+    return res;
+  },
 };
 export default {
   namespaced: true,