This commit is contained in:
portree_kid
2020-03-01 21:50:16 +01:00
parent bff3af2c52
commit ad3bd57448
10 changed files with 360 additions and 114 deletions
+24
View File
@@ -0,0 +1,24 @@
const state = {
results: []
}
const mutations = {
'CHECK_RESULTS' (state, results) {
state.results = results
}
}
const plugins = []
const actions = {
async setResults (context, results) {
context.commit('CHECK_RESULTS', results)
}
}
export default {
state,
mutations,
actions,
plugins
}