export const state = () => ({ list: { data: [] }, currencyList: { data: [] }, all: { data: [] } }) export const mutations = { REQUEST_LIST_SUCCESS (state, result) { state.list.data = result }, REQUEST_CURRENCYLIST_SUCCESS (state, result) { state.currencyList.data = result }, REQUEST_ALL_SUCCESS (state, result) { state.all.data = result } }