t为需要copy的值
t为需要copy的值
copyClick(t) {
const textarea = document.createElement('textarea')
textarea.value = t
document.body.appendChild(textarea)
textarea.select()
document.execCommand('Copy')
document.body.removeChild(textarea)
this.$message.success('复制成功')
}