handleCopy(){
const range = document.createRange()
range.selectNode(document.getElementById("copycode"))
const selection = window.getSelection();
if (selection.rangeCount > 0) selection.removeAllRanges();
selection.addRange(range);
document.execCommand('copy');
this.$toast("复制成功")
this.recharge=false
selection.removeRange(range);
},