Pre Merge pull request !402 from moon69/master

pull/402/MERGE
moon69 2024-03-27 13:23:28 +00:00 committed by Gitee
commit 43421f2876
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 0 deletions

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)
})