const getters = {
  device: state => state.app.device,
  theme: state => state.app.theme,
  color: state => state.app.color,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.name,
  welcome: state => state.user.welcome,
  roles: state => state.user.roles,
  buttons: state => state.user.buttons,
  allButtons: state => state.user.allButtons,
  alldevtypes: state => state.user.alldevicetypes,
  clientdata: state => state.user.clientdata,
  admintype: state => state.user.admintype,
  configinfo: state => state.user.allconfig,
  userInfo: state => state.user.info,
  userNotices: state => state.user.notices,
  addRouters: state => state.permission.addRouters,
  multiTab: state => state.app.multiTab,
  lang: state => state.i18n.lang
}

export default getters
