From 34f99d106551b51bf2af3bbd40c64624a3af25eb Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期六, 09 九月 2023 09:43:57 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/deptTree.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/deptTree.js b/src/main/webapp/static/js/deptTree.js index 75413a6..e14e7c2 100644 --- a/src/main/webapp/static/js/deptTree.js +++ b/src/main/webapp/static/js/deptTree.js @@ -34,9 +34,8 @@ onlyIconControl: true, data: res.data, click: function (obj) { - console.log(obj) currentDeptId = obj.data.id; - currentDeptName = obj.data.title.split(" - ")[0]; + currentDeptName = obj.data.title; selObj = obj; $('#organizationTree').find('.ew-tree-click').removeClass('ew-tree-click'); $(obj.elem).children('.layui-tree-entry').addClass('ew-tree-click'); -- Gitblit v1.9.1