如下:
for (var i=0;i<items.length-2;i++){
var field = "field" + i;
console.dir(field);
field = items.get(i);
field.reset();
}
如下:
for (var i=0;i<items.length-2;i++){
var field = "field" + i;
console.dir(field);
field = items.get(i);
field.reset();
}