From 2f0fdd1d36b62b486de787db5669ca83ba36538d Mon Sep 17 00:00:00 2001 From: zhanhong <283456800@qq.com> Date: Sat, 13 Apr 2024 12:39:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/role/RoleDataPermissionForm.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/views/system/role/RoleDataPermissionForm.vue b/src/views/system/role/RoleDataPermissionForm.vue index c00e3972..22cd086b 100644 --- a/src/views/system/role/RoleDataPermissionForm.vue +++ b/src/views/system/role/RoleDataPermissionForm.vue @@ -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 => {