const el = document.createElement('input')
el.setAttribute('value', '要复制的类容')
// el.style.display = 'none'
el.setAttribute('stype','display:none')
document.body.appendChild(el)
el.select()
const flag = document.execCommand('copy')
document.body.removeChild(el)