This commit is contained in:
shizhong 2024-03-08 20:45:43 +08:00
parent d1cfe78283
commit f0f75fac0c

View File

@ -271,6 +271,7 @@ const handleScope = async (type: string, row: RoleApi.RoleVO) => {
dataScopeForm.code = row.code
actionScopeType.value = type
dialogScopeVisible.value = true
treeNodeAll.value = false
if (type === 'menu') {
const menuRes = await listSimpleMenusApi()
treeOptions.value = handleTree(menuRes)