修复前端获取id集合为undefined

This commit is contained in:
cjl
2019-01-19 13:24:06 +08:00
parent a1e60e5eda
commit d4316e3c09

View File

@@ -349,11 +349,11 @@
var ids = ""; var ids = "";
for (var i = 0; i < row.length; i++) { for (var i = 0; i < row.length; i++) {
if (i == row.length - 1) { if (i == row.length - 1) {
ids += row[i].Id; ids += row[i].id;
break; break;
} }
//alert(row[i].id); //alert(row[i].id);
ids += row[i].Id + ","; ids += row[i].id + ",";
} }
$.ajax({ $.ajax({
type: "post", type: "post",