const getters = {
    language: state => state.common.language,
    website: state => state.common.website,
    userInfo: state => state.user.userInfo,
    userChecked: state => state.user.userChecked,
    area: state => state.area,
    news: state => state.news,
    auth: state => state.auth,
    authPass: (state, getters) => getters.auth.laborState && getters.auth.realNameState && getters.auth
        .bankCardState && getters.auth.insureState,
    authInfo: state => state.auth.authInfo,
    face: state => state.face,
    realName: state => state.authentication.realName,
    bankCard: state => state.authentication.bankCard,
    autograph: state => state.authentication.autograph,
    sendTimes: state => state.user.sendTimes, //接收短信的次数
    userLocation: state => state.user.userLocation, //用户位置
}

export default getters