소스 검색

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

chenzz 6 년 전
부모
커밋
66aabcd2b4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ruoyi-admin/src/main/resources/static/ruoyi/js/common.js

+ 2 - 2
ruoyi-admin/src/main/resources/static/ruoyi/js/common.js

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