From 18e0a2a27db58692920c8633a3bb24d87d40f3d0 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 17 Feb 2020 15:50:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE=E5=88=B7=E6=96=B0=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=A0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index f12173c84..bd1f74e2d 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -585,6 +585,12 @@ var table = { } else{ $("#" + tableId).bootstrapTable('refresh'); } + } else if (table.options.type == table_type.bootstrapTreeTable) { + if($.common.isEmpty(tableId)){ + $("#" + table.options.id).bootstrapTreeTable('refresh', []); + } else{ + $("#" + tableId).bootstrapTreeTable('refresh', []); + } } }, // 获取选中复选框项