let flag = false
for (var key in sfUserStr) {
console.log("key"+key)
console.log(sfUserStr);
if (sfUserStr[key] != null && sfUserStr[key] != '') {
flag = true
break
}
}
if (flag){
obj['sfUserStrs' + num].push(sfUserStr)
}
标签:key,console,不传,字段,flag,的话,sfUserStr,log From: https://www.cnblogs.com/laroux/p/17191635.html