getters.js 890 Bytes
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  permission_routes: state => state.permission.routes,
  addRoutes: state => state.permission.addRoutes,
  errorLogs: state => state.errorLog.logs,
  fdglSaveInfo: state => state.organizationmanage.fdgl,
  cardTypeOption: state => state.dictionaries.cardTypeOption,
  xingzuoTypeOption: state => state.dictionaries.xingzuoTypeOption,
  sysInfo: state => state.dictionariesAll.sysInfo,
  centralizationData: state => state.housemap.centralizationData,
  distributedData: state => state.housemap.distributedData,
}
export default getters