Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
log
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zerozou
log
Commits
95790e7b
Commit
95790e7b
authored
Aug 25, 2017
by
zerozou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a error style
parent
3a35de43
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
24.md
2017/08/24.md
+2
-1
No files found.
2017/08/24.md
View file @
95790e7b
...
@@ -137,7 +137,8 @@ interface Square extends Shape, PenStroke {
...
@@ -137,7 +137,8 @@ interface Square extends Shape, PenStroke {
## Redux-form
## Redux-form
*
首先需要将
`formReducer`
和自己其他的reducer合并在一起。
*
首先需要将
`formReducer`
和自己其他的reducer合并在一起。
```
javascript
```
javascript
import
{
createStore
,
combineReducers
}
from
'redux'
import
{
createStore
,
combineReducers
}
from
'redux'
import
{
reducer
as
formReducer
}
from
'redux-form'
import
{
reducer
as
formReducer
}
from
'redux-form'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment