pasteContent(e) {
e.preventDefault();
let text = e.clipboardData.getData('text/plain');
document.execCommand("insertHTML", false, text.replace(/<.*?>/g, ''));
},
replace 方法将标签替换成字符串,只保留文本,insertHTML插入到当前元素的innerHTML中