소스 검색

添加重新发送

lrf402788946 4 년 전
부모
커밋
6f828a6971
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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 = [];