From 4920aa7ac34d4afb8fda15c43f71f27dd05ceaaa Mon Sep 17 00:00:00 2001 From: chenzz Date: Mon, 26 Nov 2018 15:35:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95,=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E7=AE=A1=E7=90=86tree=E6=8E=A7=E4=BB=B6=E5=B1=95?= =?UTF-8?q?=E5=BC=80/=E6=8A=98=E5=8F=A0=E4=B8=8D=E5=8F=AF=E7=94=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js index 9f56a6ac..61dacd9d 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js +++ b/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; })