合并人才集团代码
This commit is contained in:
19
utilsRc/store/getters.js
Normal file
19
utilsRc/store/getters.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* @Descripttion:
|
||||
* @Author: lip
|
||||
* @Date: 2023-07-27 15:59:34
|
||||
* @LastEditors: lip
|
||||
*/
|
||||
const getters = {
|
||||
token: state => state.user.token,
|
||||
avatar: state => state.user.avatar,
|
||||
name: state => state.user.name,
|
||||
roles: state => state.user.roles,
|
||||
permissions: state => state.user.permissions,
|
||||
userId: state => state.user.userId,
|
||||
handlerData: state => state.user.handlerData,
|
||||
nick: state => state.user.nick,
|
||||
showExitPopup: state => state.user.showExitPopup,
|
||||
publicKey: state => state.user.publicKey
|
||||
}
|
||||
export default getters
|
||||
Reference in New Issue
Block a user