修改BUG:角色授权菜单页面增加级联选择功能

This commit is contained in:
Argo-Surface 2018-11-22 11:01:28 +08:00
parent f5cb57b1a2
commit f83a211466
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
$nestMenuInput = $nestMenu.find('div.dd3-content');
$nestMenuInput.on('click', ':checkbox', function () {
var val = $(this).prop('checked');
var child = $(this).parent().parent().next();
var child = $(this).parents('.dd3-content').next();
if (child.hasClass('dd-list')) {
child.find(':checkbox').prop('checked', val);
}