iview textarea文本域禁止拉伸

没有确定的属性禁止拉伸,可以将autosize中的maxRows和minRows值设为一致

<Input class='textarea' :rows="5" :autosize="{maxRows:5,minRows: 5}" v-model="addNum" type="textarea"/>
发布了16 篇原创文章 · 获赞 0 · 访问量 2725

猜你喜欢

转载自blog.csdn.net/songhsia/article/details/98615865