const copyInput = document.querySelector('.copy-container');
copyInput.select(); //安卓可识别进行选中
copyInput.setSelectionRange(0, copyInput.value.length); //ios用setSelectionRange选中
document.execCommand('Copy');