mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-10-15 15:28:28 +00:00
全局数据存储用户编号
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const getters = {
|
||||
token: state => state.user.token,
|
||||
avatar: state => state.user.avatar,
|
||||
id: state => state.user.id,
|
||||
name: state => state.user.name,
|
||||
roles: state => state.user.roles,
|
||||
permissions: state => state.user.permissions
|
||||
|
||||
Reference in New Issue
Block a user