chart.js 403 B

12345678910111213141516171819202122
  1. export default {
  2. namespace: 'chart',
  3. state: {
  4. list: []
  5. },
  6. reducer: {
  7. },
  8. effects: {
  9. *fetchList(action, { call, put }) {
  10. const res = yield call({
  11. url: '',
  12. body: ''
  13. });
  14. }
  15. },
  16. subscriptions: {
  17. setup({ dispatch, history }) {
  18. //dispatch({ type: 'fetchList' })
  19. }
  20. }
  21. }