guhongwei 5 năm trước cách đây
mục cha
commit
5352e20227
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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;