👇
// 复制
copyInput(value){
let that = this
let txa = document.createElement('textarea')
let txval = value
txa.value = txval
document.body.appendChild(txa)
txa.select()
let res = document.execCommand('copy')
document.body.removeChild(txa)
this.$pop('shake','内容复制成功','copy')
},