weiPageData.js 436 Bytes
/*
 * Created by shipfi on 2016/5/31.
 */
import {
    WEI_INDEX,
    GROUP_NAV
} from '../mutationTypes';


const state = {
    weiIndex: {},
    groupNav: {},
};

const mutations = {
    [WEI_INDEX](state, action){//获取首页结构
        state.weiIndex = action.weiIndex;
    },
    [GROUP_NAV](state, action){//获取底部导航
        state.groupNav = action.groupNav;
    }
};

export default {
    state,
    mutations
};