• 2024-12-06js实现点击按钮复制内容
    <imgsrc="./images/copy.png"@click="copyUrl"/>copyTextArea(){constshareUrl="http://www.xxx.com";consttextarea=document.createElement("textarea");textarea.value=shareUrl;