vue input v-model 限制长度, 有 @input 、@keypress 等方法 ,这里使用 maxlength
<a-input placeholder="100个字符以内,必填" v-model="inum.content" maxlength="100"></a-input>
试试…
vue input v-model 限制长度, 有 @input 、@keypress 等方法 ,这里使用 maxlength
<a-input placeholder="100个字符以内,必填" v-model="inum.content" maxlength="100"></a-input>
试试…