Explorar el Código

添加重新发送

lrf402788946 hace 4 años
padre
commit
6f828a6971
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      store/notice.js

+ 4 - 0
store/notice.js

@@ -32,6 +32,10 @@ const actions = {
     const res = await this.$axios.$get(`${api.classInfo(payload)}`);
     return res;
   },
+  async resend({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.noticeInfo}/resend`, payload);
+    return res;
+  },
   async mergeRequest({ commit, dispatch }, { method, data }) {
     let toRequest = () => {
       let res = [];