浏览代码

添加重新发送

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 = [];