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,
  username: state => state.user.username,
  phone: state => state.user.phone,
  role: state => state.user.role,
  // isOut: state => state.user.isOut,
  // provinceId: state => state.user.provinceId,
  // cityId: state => state.user.cityId,
  // areaId: state => state.user.areaId,
  isShowSellPrice: state => state.user.isShowSellPrice,
  isShowPurchasePrice: state => state.user.isShowPurchasePrice,
  isOperate: state => state.user.isOperate
};
export default getters;
