guhongwei 5 سال پیش
والد
کامیت
5352e20227
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      store/notice.js

+ 4 - 0
store/notice.js

@@ -19,6 +19,10 @@ const actions = {
     const res = await this.$axios.$post(`${api.noticeInfo}`, payload);
     return res;
   },
+  async fetch({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.noticeInfo}/${payload}`);
+    return res;
+  },
   async lookFetch({ commit }, payload) {
     const res = await this.$axios.$post(`${api.lookInfo}`, payload);
     return res;