fix : 修复标签关闭bug, 表格组件列配置, 完善用户管理页面

This commit is contained in:
2024-09-14 16:44:45 +08:00
parent 556c87812a
commit 5e6fd1420f
17 changed files with 537 additions and 587 deletions

View File

@@ -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[]')
}
}
}