$('#table').bootstrapTable({
url: "http://localhost:8888/view", //服务器返回数据的网址
columns: columns,
pagination: true,
pageNumber: 1,
pageSize: 2,
pageList: [3, 5, 10, 20],
paginationHAlign: "left",
paginationDetailHAlign: "right",
// url: "http://localhost:8888/view", //服务器返回数据的网址
// method: 'GET', //数据请求方式
onLoadSuccess: function (data) {
mergeRow(data, 'version', 'table'); //table表格,合并version列
}
});
//设置需要显示的列
var columns = [
{
checkbox: true
},
{
field