From a34d30c8fb8d195b656a8c087c97950f54f225d9 Mon Sep 17 00:00:00 2001 From: luckyxz Date: Tue, 28 Jun 2022 14:52:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BC=B9=E5=87=BA=E6=8A=84?= =?UTF-8?q?=E9=80=81=E4=BA=BA=E9=80=89=E6=8B=A9=E6=A1=86=E6=8A=A5js?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/workflow/work/detail.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/workflow/work/detail.vue b/ruoyi-ui/src/views/workflow/work/detail.vue index 41dfa945..a7c4903c 100644 --- a/ruoyi-ui/src/views/workflow/work/detail.vue +++ b/ruoyi-ui/src/views/workflow/work/detail.vue @@ -398,7 +398,9 @@ export default { }) }) } else { - this.$refs.userTable.clearSelection(); + this.$nextTick(() => { + this.$refs.userTable.clearSelection(); + }); } }, // 关闭标签 @@ -449,7 +451,9 @@ export default { this.getTreeSelect(); this.getList() this.userData.open = true; - this.$refs.userTable.clearSelection(); + this.$nextTick(() => { + this.$refs.userTable.clearSelection(); + }); }, /** 通过任务 */ handleComplete() {