bootstrap table 获取选中行数据
bootstrap table 获取选中行数据var a= $table.bootstrapTable('getSelections');if(a.length==1){console.log(a[0].id);}else{alert("请选中一行")}
·
bootstrap table 获取选中行数据
var a= $table.bootstrapTable('getSelections');
if(a.length==1){
console.log(a[0].id);
}else{alert("请选中一行")}
更多推荐



所有评论(0)