r><span class="line-number">8</span><br></div></div></details><h4 id="限制长度" tabindex="-1"><a class="header-anchor" href="#限制长度" aria-hidden="true">#</a> 限制长度</h4><div class="component-box"><div class="component-box-top"><!----></div><div class="component-box-bottom"><div class="component-title">限制长度的输入框</div><div class="component-desc"> 可以设置maxlength属性设置输入框的最多的字符数； </div></div></div><details class="custom-container details"><summa