修改角色为多角色
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
||||
mounted(el, binding) {
|
||||
const { value } = binding
|
||||
const userInfo = JSON.parse(sessionStorage.getItem('userInfo') || '{}')
|
||||
const userRole = userInfo.role || 0
|
||||
const userRole = userInfo.roles || 0
|
||||
|
||||
// 如果没有权限配置,默认显示
|
||||
if (!value) {
|
||||
|
||||
Reference in New Issue
Block a user