📅  最后修改于: 2022-03-11 15:04:02.341000             🧑  作者: Mango
let img = document.createElement("img");
img.src = source.getAttribute('data-image');
document.getElementByID("target").appendChild(img);