fix : 修复标签关闭bug, 表格组件列配置, 完善用户管理页面
This commit is contained in:
@@ -10,11 +10,10 @@ export const hasPerm = (el, binding, vnode) => {
|
||||
const hasPermission = permisstions.some(permission => {
|
||||
return allPermission === permission || permissiosFlag.includes(permission)
|
||||
})
|
||||
console.log(hasPermission);
|
||||
if (!hasPermission) {
|
||||
el.parentNode && el.parentNode.removeChild(el)
|
||||
}
|
||||
} else {
|
||||
throw new Error('操作权限标识应为string[]')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user