feature:禁止选中角色的子以及后代节点
This commit is contained in:
parent
2d884c83cc
commit
cc4135a2d7
|
@ -401,7 +401,6 @@ const setOptions = () => {
|
||||||
setAuthorityOptions(tableData.value, AuthorityOption.value, false)
|
setAuthorityOptions(tableData.value, AuthorityOption.value, false)
|
||||||
}
|
}
|
||||||
const setAuthorityOptions = (AuthorityData, optionsData, disabled) => {
|
const setAuthorityOptions = (AuthorityData, optionsData, disabled) => {
|
||||||
form.value.authorityId = String(form.value.authorityId)
|
|
||||||
AuthorityData &&
|
AuthorityData &&
|
||||||
AuthorityData.forEach(item => {
|
AuthorityData.forEach(item => {
|
||||||
if (item.children && item.children.length) {
|
if (item.children && item.children.length) {
|
||||||
|
|
Loading…
Reference in New Issue