重置刷新表格树

pull/153/head
RuoYi 2020-02-17 15:50:11 +08:00
parent 6ce34b1790
commit 18e0a2a27d
1 changed files with 6 additions and 0 deletions

View File

@ -585,6 +585,12 @@ var table = {
} else{ } else{
$("#" + tableId).bootstrapTable('refresh'); $("#" + tableId).bootstrapTable('refresh');
} }
} else if (table.options.type == table_type.bootstrapTreeTable) {
if($.common.isEmpty(tableId)){
$("#" + table.options.id).bootstrapTreeTable('refresh', []);
} else{
$("#" + tableId).bootstrapTreeTable('refresh', []);
}
} }
}, },
// 获取选中复选框项 // 获取选中复选框项