兼容各个版本浏览器粘贴函数
// 前端拷贝函数
webCopy = function(value){
if(window.clipboardData && window.clipboardData.setData){
return window.clipboardData.setData("Text", value)
}else if(document.queryCommandSupported && document.queryCommandSupported("copy")){
let ele = document.createElement("input");
ele.value = value;
document.body.appendChild(ele);
ele.select();
document.execCommand("copy");
document.body.removeChild(ele);
}
}