Can you try this:
function getUsers(){
let names = ""
usersjson.users.forEach(function (user,counter) {
names = names + "<p>" + user.first_name +' '+user.last_name+"</p>";
if(counter % 2 == 0) {
$('.users_list').append(`<div class="row">${names}</div>`);
names = ""
}
});
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…