mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
fix: interface up bug
This commit is contained in:
parent
a02b4e585a
commit
bd85dbbd42
@ -19,7 +19,7 @@ export default (state = initialState, action) => {
|
||||
case UPDATE_INTERFACE_DATA:
|
||||
return {
|
||||
...state,
|
||||
curdata: action.updata
|
||||
curdata: Object.assign({}, state.curdata, action.updata)
|
||||
}
|
||||
case DELETE_INTERFACE_DATA:
|
||||
return (() => {
|
||||
|
Loading…
Reference in New Issue
Block a user