摘要: 可以使用以下代码实现复制功能: 1 function copyText() { 2 var copyText = document.getElementById("myText"); 3 copyText.select(); 4 document.execCommand("copy"); 5 ale 阅读全文
posted @ 2023-03-27 09:47 对白' 阅读(1491) 评论(0) 推荐(0) 编辑