This commit is contained in:
18500206848
2024-02-02 14:44:30 +08:00
parent 6647042acb
commit 91172a730c
255 changed files with 24805 additions and 0 deletions

18
store/getters.js Normal file
View File

@@ -0,0 +1,18 @@
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,//接收短信的次数
}
export default getters