Commit ddfa0a5a by 芋道源码 Committed by Gitee

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

Merge pull request !424 from 李占宏/dev
parents f6e4753b 2f0fdd1d
......@@ -103,9 +103,6 @@ const open = async (row: RoleApi.RoleVO) => {
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 => {
treeRef.value.setChecked(deptId, true, false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment