We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user的结构如下,如果一个人多个role,怎么办呢? { username: 'admin', password: 'admin', role: 'admin', roleId: '1', permissions: ['..*'] }
The text was updated successfully, but these errors were encountered:
我觉得,这个你自己声明一个新的 UserInfo 就好了。
export interface UserInfo { access: string[] avatar: string email: string name: string roles: UserRole[] roles_values: string[] subjects: string[] | null user_id: number }
Sorry, something went wrong.
No branches or pull requests
user的结构如下,如果一个人多个role,怎么办呢?
{
username: 'admin',
password: 'admin',
role: 'admin',
roleId: '1',
permissions: ['..*']
}
The text was updated successfully, but these errors were encountered: