没有确定的属性禁止拉伸,可以将autosize中的maxRows和minRows值设为一致
<Input class='textarea' :rows="5" :autosize="{maxRows:5,minRows: 5}" v-model="addNum" type="textarea"/>
没有确定的属性禁止拉伸,可以将autosize中的maxRows和minRows值设为一致
<Input class='textarea' :rows="5" :autosize="{maxRows:5,minRows: 5}" v-model="addNum" type="textarea"/>