修改BUG:角色授权菜单页面增加级联选择功能
This commit is contained in:
parent
f5cb57b1a2
commit
f83a211466
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue