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

This commit is contained in:
chenzz
2018-11-26 15:35:37 +08:00
parent 553358aa12
commit 6128d816de

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;
})