input.select() : 选取文本域的内容
const copy = (i:string) => {
const oInput = document.createElement('input')
oInput.value = i
document.body.appendChild(oInput)
oInput.select()
document.execCommand('Copy')
oInput.style.display = 'none'
document.body.removeChild(oInput)
}