Browse Source

角色数据权限返现问题修复

master
ljlong_2630 7 months ago
parent
commit
b8c465bb06
  1. 2
      src/views/system/role/RoleDataPermissionForm.vue

2
src/views/system/role/RoleDataPermissionForm.vue

@ -102,9 +102,11 @@ const open = async (row: RoleApi.RoleVO) => {
formData.name = row.name
formData.code = row.code
formData.dataScope = row.dataScope
nextTick(() => {
row.dataScopeDeptIds?.forEach((deptId: number) => {
treeRef.value.setChecked(deptId, true, false)
})
})
}
defineExpose({ open }) // open

Loading…
Cancel
Save