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

pull/43/head
chenzz 2018-11-26 15:35:37 +08:00
parent 553358aa12
commit 6128d816de
1 changed files with 2 additions and 2 deletions

View File

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