project init
This commit is contained in:
18
store/getters.js
Normal file
18
store/getters.js
Normal 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
|
||||
Reference in New Issue
Block a user