!51 update web/src/views/system/role/components/PermissionComNew/index.vue.
Merge pull request !51 from 木子-李/N/A
This commit is contained in:
@@ -275,10 +275,7 @@ const handleDialogConfirm = () => {
|
||||
errorNotification('请选择');
|
||||
return;
|
||||
}
|
||||
for (const item of menuData.value) {
|
||||
for (const iterator of item.children) {
|
||||
if (iterator.id === menuCurrent.value.id) {
|
||||
for (const btn of iterator.btns) {
|
||||
for (const btn of menuCurrent.value?.btns || []) {
|
||||
if (btn.id === menuBtnCurrent.value) {
|
||||
const findItem = dataPermissionRange.value.find((i) => i.value === dataPermission.value);
|
||||
btn.data_range = findItem?.value || 0;
|
||||
@@ -287,9 +284,6 @@ const handleDialogConfirm = () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
handleDialogClose();
|
||||
};
|
||||
const handleDialogClose = () => {
|
||||
|
||||
Reference in New Issue
Block a user