摘要:
import { createStore, compose, combineReducers, applyMiddleware } from 'redux' import promise from 'redux-promise' import thunk from 'redux-thunk' imp 阅读全文
摘要:
第一步 actions文件: // export function getName (options) { // return { // type: "DATA", // payload: options // } // } 第二步 reducer文件: // const defaultState 阅读全文