发布于 4年前
layui数据表格获取多选框选中的值
let check_box = layui.table.checkStatus('list').data;
let str = "";
for (let i =0; i<check_box.length;i++){
str+=check_box[i].id+",";
}
let check_box = layui.table.checkStatus('list').data;
let str = "";
for (let i =0; i<check_box.length;i++){
str+=check_box[i].id+",";
}