!402 修复数据权限无法回显的问题

Merge pull request !402 from moon69/master
This commit is contained in:
芋道源码 2024-03-30 07:50:38 +00:00 committed by Gitee
commit 02af138069
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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