select()方法:

this.$refs.copyInput.select();
document.querySelector("#copyInput").select();
$("#copyInput").select();

疑问点:不知道为什么,查到的是这个方法是jquery的选中方法,但是原生js和VUE中都可以用,很奇怪,有知道的望告知!