当已输入了10个字符后再进入输入时,后面输入的会自动滤掉_原生textarea设置最大数量">
赞
踩
<textarea maxlength="10"></textarea>
当已输入了10个字符后再进入输入时,后面输入的会自动滤掉