1.方法 //复制 CopyUrl() { var oInput = document.createElement("input"); oInput.value = this.inviteUrl; //要复制的内容 document