From 9b1c7b55f133388372a54061a2234445d713bdfb Mon Sep 17 00:00:00 2001 From: "waliang.wang" Date: Wed, 12 Jul 2017 11:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E5=A4=9A=E4=BD=99=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/actionTypes.js | 6 ------ client/constants/action-types.js | 3 +++ client/reducer/interface/interface.js | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) delete mode 100644 client/actionTypes.js diff --git a/client/actionTypes.js b/client/actionTypes.js deleted file mode 100644 index fb51f5b1..00000000 --- a/client/actionTypes.js +++ /dev/null @@ -1,6 +0,0 @@ -// Interface -export const FETCH_INTERFACE_DATA = 'FETCH_INTERFACE_DATA'; - -// Home -export const FETCH_HOME_DATA = 'FETCH_INTERFACE_DATA'; - diff --git a/client/constants/action-types.js b/client/constants/action-types.js index 80686d1f..82b5022f 100644 --- a/client/constants/action-types.js +++ b/client/constants/action-types.js @@ -1,3 +1,6 @@ +// Interface +export const FETCH_INTERFACE_DATA = 'FETCH_INTERFACE_DATA'; + // group export const FETCH_GROUP_LIST = 'FETCH_GROUP_LIST' export const FETCH_CURR_GROUP = 'FETCH_CURR_GROUP' diff --git a/client/reducer/interface/interface.js b/client/reducer/interface/interface.js index 699736ca..89b3aed7 100644 --- a/client/reducer/interface/interface.js +++ b/client/reducer/interface/interface.js @@ -1,6 +1,6 @@ import { FETCH_INTERFACE_DATA, -} from '../../actionTypes.js' +} from '../../constants/action-types.js' export default (state = 3333, action) => { switch (action.type) {