lrf402788946 4 년 전
부모
커밋
5c8ea3d105
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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,