The comments are too confusing, I want to correct a mistake here
驱魔鮔
驱魔鮔 2019-02-15 21:39:22
0
2
1284

There is a problem with the code when judging whether to check the submenu

<input type="checkbox" name="menu[{$vo.mid}]" lay-skin=" primary" title="{$vo.title}" {:isset($role['rights']) && $role['rights'] && in_array($vo.mid,$role['rights'])?' checked':''}>

This should change in_array($vo.mid,$role['rights']) to in_array($cvo.mid,$role['rights'])

Otherwise all will be checked

驱魔鮔
驱魔鮔

reply all(1)
驱魔鮔

Okay, it will be solved later, I haven’t seen it yet

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template