刷新页面时,会生成文本被复制的提示信息,但是当尝试通过ctrl + v粘贴它时,它不返回任何内容
<html>
<head>
<script>
var clip = new ZeroClipboard(document.getElementById('my-button'));
</script><br>
</head>
<body>
<button id="my-button" data-clipboard-text="Copy me!">Copy to clip</button>
<script>
alert("copyed");
</script>
</body>