Merge branch 'wangliang' into 'dev'

整理reduce

See merge request !7
This commit is contained in:
王亮wa 2017-07-12 11:56:28 +08:00
commit 713342a6c8
5 changed files with 6 additions and 9 deletions

View File

@ -1,6 +1,6 @@
import LoginRedux from './reducer/Login/Login_redux.js'
import group from './reducer/group/group.js'
import Interface from './reducer/interface/interface.js'
import Interface from './reducer/Interface/Interface.js'
export default {
group,

View File

@ -1,6 +0,0 @@
// Interface
export const FETCH_INTERFACE_DATA = 'FETCH_INTERFACE_DATA';
// Home
export const FETCH_HOME_DATA = 'FETCH_INTERFACE_DATA';

View File

@ -1,6 +1,6 @@
import {
FETCH_INTERFACE_DATA,
} from '../actionTypes.js';
} from '../constants/action-types.js';
export function fetchAuditIcons () {
const data = [{

View File

@ -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'

View File

@ -1,6 +1,6 @@
import {
FETCH_INTERFACE_DATA,
} from '../../actionTypes.js'
} from '../../constants/action-types.js'
export default (state = 3333, action) => {
switch (action.type) {