|
|
@ -385,6 +385,9 @@
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
itemSon.indeterminate = false;
|
|
|
|
itemSon.indeterminate = false;
|
|
|
|
itemSon.check = false;
|
|
|
|
itemSon.check = false;
|
|
|
|
|
|
|
|
//从二级选中数组中移除当前二级权限
|
|
|
|
|
|
|
|
let curItemSonIndex = item.checkArr.indexOf(itemSon.id);
|
|
|
|
|
|
|
|
item.checkArr.splice(curItemSonIndex, curItemSonIndex + 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let parentPermissionCount = item.sonPermissionList.length;
|
|
|
|
let parentPermissionCount = item.sonPermissionList.length;
|
|
|
|
if (item.checkArr.length === parentPermissionCount) {
|
|
|
|
if (item.checkArr.length === parentPermissionCount) {
|
|
|
|