From bd85dbbd4203c761bd96d815349f02c0ca9ab828 Mon Sep 17 00:00:00 2001 From: suxiaoxin Date: Thu, 17 Aug 2017 16:40:58 +0800 Subject: [PATCH] fix: interface up bug --- client/reducer/modules/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/reducer/modules/interface.js b/client/reducer/modules/interface.js index fec2591a..ad1fb5e8 100644 --- a/client/reducer/modules/interface.js +++ b/client/reducer/modules/interface.js @@ -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 (() => {