lrf402788946 4 năm trước cách đây
mục cha
commit
5c8ea3d105
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/store/question/answer.js

+ 4 - 0
src/store/question/answer.js

@@ -31,6 +31,10 @@ const actions = {
     const res = await this.$axios.$delete(`${api.answer}/${payload}`);
     return res;
   },
+  async findAnswer({ commit }, payload) {
+    const res = await this.$axios.$get(`${api.answer}/getAnswer`, payload);
+    return res;
+  },
 };
 export default {
   namespaced: true,