mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-21 06:37:48 +00:00
feature:禁止选中角色的子以及后代节点
This commit is contained in:
@@ -401,7 +401,6 @@ const setOptions = () => {
|
||||
setAuthorityOptions(tableData.value, AuthorityOption.value, false)
|
||||
}
|
||||
const setAuthorityOptions = (AuthorityData, optionsData, disabled) => {
|
||||
form.value.authorityId = String(form.value.authorityId)
|
||||
AuthorityData &&
|
||||
AuthorityData.forEach(item => {
|
||||
if (item.children && item.children.length) {
|
||||
|
||||
Reference in New Issue
Block a user