lrf402788946 4 years ago
parent
commit
5c8ea3d105
1 changed files with 4 additions and 0 deletions
  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,