From b3c1b2bf651baa8847fae85d3733e0faa4ea903c Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Fri, 13 Dec 2019 21:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=89=E6=8B=A9=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E7=AA=97=E5=8F=A3=E5=85=B3=E9=97=AD=E5=90=8E=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/tree/tree-user.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloud-common-plugin/src/main/resources/templates/tree/tree-user.html b/cloud-common-plugin/src/main/resources/templates/tree/tree-user.html index c586ae2..50bcf81 100644 --- a/cloud-common-plugin/src/main/resources/templates/tree/tree-user.html +++ b/cloud-common-plugin/src/main/resources/templates/tree/tree-user.html @@ -52,7 +52,6 @@ var selectDepartmentUserArray = []; function closeBox() { - top.dialog.dialogData.selectedDepartmentUsers = selectDepartmentUserArray; top.dialog.dialogData.selectedUsers = null; top.dialog.closeBox(); } @@ -74,7 +73,6 @@ var initTimeout = null; var isInited = false; function initCheckData(zTree) { - top.dialog.dialogData.selectedDepartmentUsers = []; if(isInited) { return; } @@ -172,6 +170,7 @@ $('#selectUsers').append(''+ item.title +' '); } } + top.dialog.dialogData.selectedDepartmentUsers = selectDepartmentUserArray; } $('.confirm').on('click', function() { closeBox();