!43 修复菜单,部门管理tree控件展开/折叠不可用问题

Merge pull request !43 from chenzz/Branch_bug_fix
pull/43/MERGE
chenzz 2018-11-26 15:37:18 +08:00 committed by 若依
commit 66aabcd2b4
1 changed files with 2 additions and 2 deletions

View File

@ -107,9 +107,9 @@ $(function() {
var expandFlag = false;
$("#expandAllBtn").click(function() {
if (expandFlag) {
$('#bootstrap-table').bootstrapTreeTable('expandAll');
$('#bootstrap-tree-table').bootstrapTreeTable('expandAll');
} else {
$('#bootstrap-table').bootstrapTreeTable('collapseAll');
$('#bootstrap-tree-table').bootstrapTreeTable('collapseAll');
}
expandFlag = expandFlag ? false: true;
})