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