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 f12173c8..bd1f74e2 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', []); + } } }, // 获取选中复选框项