const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  permission_routes: state => state.permission.routes,
  add_routers: state => state.permission.addRoutes,
  classification: state => state.user.classification,
  isMain: state => state.settings.isMain,
  roleData: state => state.permission.roleData,
  opts: state => state.permission.opts,
  clientOptions: state => state.app.clientOptions
}
export default getters
