| 123456789101112131415161718192021 |
- export const state = () => ({
- list: {
- data: []
- },
- details: {
- data: []
- }
- })
- export const mutations = {
- REQUEST_LIST_SUCCESS (state, result) {
- state.list.data = result
- },
- REQUEST_DETAILS_SUCCESS (state, result) {
- state.details.data = result
- },
- REQUEST_DETAILS_ERROR (state) {
- state.details.data = []
- }
- }
|