先通过ajax获取数据在通过load方法渲染数据到table中显示 $("#demo-table").bootstrapTable("load", data) 后台返回的数据格式必须为json {total:200,rows:[{'XXXXX': 'XXXXX'}]}