在JS中添加图片并设置不重复显示:
document.getElementById("addselect").style.backgroundRepeat ="no-repeat";
document.getElementById("addselect").style.backgroundImage="url(/public/img/2.jpg)";
在JS中添加图片并设置不重复显示:
document.getElementById("addselect").style.backgroundRepeat ="no-repeat";
document.getElementById("addselect").style.backgroundImage="url(/public/img/2.jpg)";