const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.user.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  organId: state => state.user.organId,
  organName: state => state.user.organName,
  tenantNo: state => state.user.tenantNo,
  permission_routes: state => state.permission.routes,
  permissionBtns: state => state.permission.permissionBtns,
  currentChildRoute: state => state.permission.currentChildRoute,
  currentRouteTitle: state => state.permission.currentRouteTitle,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.stepView.cachedViews,
  dict: state => state.dict.dictionary,
  addRoutes: state => state.permission.addRoutes,
  logo: state => state.dict.logo,
  companyName: state => state.dict.companyName,
  model: state => state.dict.model,
  deviceType: state => state.user.deviceType,
  agreements: state => state.dict.agreements,
  attachmentUrl: state => state.attachment.attachmentUrl
}
export default getters
