commit
ddfa0a5a0f
@ -102,9 +102,6 @@ const open = async (row: RoleApi.RoleVO) => {
|
|||||||
formData.name = row.name
|
formData.name = row.name
|
||||||
formData.code = row.code
|
formData.code = row.code
|
||||||
formData.dataScope = row.dataScope
|
formData.dataScope = row.dataScope
|
||||||
await nextTick()
|
|
||||||
row.dataScopeDeptIds?.forEach((deptId: number): void => {
|
|
||||||
|
|
||||||
await nextTick()
|
await nextTick()
|
||||||
// 需要在 DOM 渲染完成后,再设置选中状态
|
// 需要在 DOM 渲染完成后,再设置选中状态
|
||||||
row.dataScopeDeptIds?.forEach((deptId: number): void => {
|
row.dataScopeDeptIds?.forEach((deptId: number): void => {
|
||||||
|
Loading…
Reference in New Issue
Block a user