!424 fix:部署报错移除多余的代码

Merge pull request !424 from 李占宏/dev
This commit is contained in:
芋道源码
2024-04-14 10:17:42 +00:00
committed by Gitee

View File

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