这是什么样的ES6语法?
从这里获取:https://github.com/quangbuule/redux-example/blob/master/src/js/reducers/Repo.js
{
[ActionTypes.Repo](state, { username, res }) {
/* ... */
},
[ActionTypes.Repo2](state, { username, res }) {
/* ... */
}
从这里获取:https://github.com/quangbuule/redux-example/blob/master/src/js/reducers/Repo.js