The native table tag sets an attribute to make the cell content editable

<tr>
         <td colspan="2" align="center">疾病诊断:</td>
         <td colspan="19" contentEditable="true" @blur="testblur"></td>
</tr>
let testblur=(e:any) => {
  console.log(e.srcElement.innerHTML);
}

 

Guess you like

Origin blog.csdn.net/m0_57033755/article/details/130281023