- 博客(1)
- 收藏
- 关注
原创 vue textarea 自适应高度
找了找网上的自适应,最开始找到方法如下: <textarea v-model="val" v-on:input="autoTextAreaHeight" ></textarea> autoTextAreaHeight = function(e){ //e是textarea e.style.height = e.scrollTop + e.scrollHeight ...
2020-01-09 21:43:43
705
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅