const getters = {
|
|
token: state => state.user.token,
|
|
userInfo: state => state.user.userInfo,
|
|
avatar: state => state.user.avatar,
|
|
name: state => state.user.name,
|
|
roles: state => state.user.roles,
|
|
permissions: state => state.user.permissions,
|
|
isLogin: state=>state.user.isLogin,
|
|
configList: state => state.system.configList,
|
|
petTypeOptions: state => state.system.petTypeOptions,
|
|
increaseServiceOptions: state => state.system.increaseServiceOptions,
|
|
}
|
|
export default getters
|