使用textarea组件时设置auto-height,值是动态添加,textarea的高度会变化
发布于 3 年前 作者 sxue 2832 次浏览 来自 问答

https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html

刚进入页面是这样的,然后会很快闪一下变成这样

1 回复

设置min-height试试

回到顶部