const state = () => {
  return {
    menu: [
      {
        icon: "HomeIcon",
        pageName: "side-menu-dashboard",
        title: "会员中心"
      },
      {
        icon: "BoxIcon",
        pageName: "side-menu-inbox",
        title: "个人资料"
      },
      {
        icon: "GridIcon",
        pageName: "side-menu-file-manager",
        title: "我的应用"
      },
      {
        icon: "DollarSignIcon",
        pageName: "side-menu-point-of-sale",
        title: "财务管理"
      },
      {
        icon: "UsersIcon",
        pageName: "side-menu-post",
        title: "邀请好友"
      },
      {
        icon: "MessageSquareIcon",
        pageName: "side-menu-chat",
        title: "消息中心"
      }
    ]
  };
};

// getters
const getters = {
  menu: state => state.menu
};

// actions
const actions = {};

// mutations
const mutations = {};

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
};
