diff --git a/service-department/src/main/resources/templates/department/user/select-user.html b/service-department/src/main/resources/templates/department/user/select-user.html index 23ebc8bc..6518d00f 100644 --- a/service-department/src/main/resources/templates/department/user/select-user.html +++ b/service-department/src/main/resources/templates/department/user/select-user.html @@ -296,7 +296,7 @@ } // 初始化人员列表 function initUsers(parentId, roleParentId) { - if(selectedParentId == parentId && (typeof(selectRoleId) == 'undefined' || selectRoleId == null)) { + if(selectedParentId == parentId && (typeof(roleParentId) == 'undefined' || roleParentId == null)) { return; } $('#userWrapper').empty();