mirror of https://gitee.com/y_project/RuoYi.git
修复菜单,部门管理tree控件展开/折叠不可用问题
parent
553358aa12
commit
6128d816de
|
@ -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;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue