📅  最后修改于: 2022-03-11 14:53:23.675000             🧑  作者: Mango
The second parameter of insertAdjacentElement() should be a html object.
The trick below works :)
var htmlString = `
${obj.descripiton}
${obj.value}
`
var htmlObject = document.createElement('div');
htmlObject.innerHTML=htmlString;
document.querySelector(".income__list").insertAdjacentElement('beforeend', htmlObject);