摘要: copy() { // 创建input标签 var input = document.createElement('input') // 将input的值设置为需要复制的内容(this.typePromptText 自定义的) input.value = this.typePromptText // 阅读全文