提交 7fa2ec1a 编写于 作者: 雪洛's avatar 雪洛

fix: admin token role error

上级 9befc9a0
......@@ -133,7 +133,7 @@ export default class TokenUtils {
}
if (role.includes('admin')) {
this.userPermission = {
role: ['admin'],
role,
permission: []
}
return this.userPermission
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册