const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  userid: state => state.user.userid,
  phone: state => state.user.phone,
  name: state => state.user.name,
  isNotice: state => state.user.isNotice,
  menus: state => state.user.menus,
  websitNumber: state => state.user.websitNumber,
  customerId: state => state.user.customerId,
  customerName: state => state.user.customerName,
  customerNumber: state => state.user.customerNumber,
  showMessages: state => state.user.showMessages,
  code: state => state.sales.code,
  isCustomer: state => state.user.customerId && state.user.customerName && state.user.customerNumber,
  isTradeExaminer: state => state.user.isTradeExaminer,
  userInfo: state => state.user.userInfo,
  isHongGe: state => state.user.userInfo.isHongGe,
  autoChangeNum: state => state.user.changeNum
}
export default getters
