floor.js 393 B

123456789101112131415161718
  1. // export const state = () => ({
  2. // list: {
  3. // fetching: false,
  4. // data: []
  5. // }
  6. // })
  7. // export const mutations = {
  8. // REQUEST_LIST (state) {
  9. // state.list.fetching = true
  10. // },
  11. // GET_LIST_FAILURE (state) {
  12. // state.list.fetching = false
  13. // },
  14. // GET_LIST_SUCCESS (state, result) {
  15. // state.list.fetching = false
  16. // state.list.data = result
  17. // }
  18. // }