const input = document.createElement("input");
input.setAttribute("value", this.address);
input.setAttribute("type", "hide");
document.body.appendChild(input);
input.select();
document.execCommand("copy");
document.body.removeChild(input);
js手写复制方法
最新推荐文章于 2025-06-03 17:13:54 发布