<view class="rowFlex" style="justify-content: center;margin-top: 30rpx;height: 300rpx;">
<view >内容:</view>
<view class="columnFlex" style="width: 550rpx;justify-content: center;margin-left: 15rpx;">
<u-input v-model="content" :border="true" type="textarea" maxlength="-1" :clearable="false" :autoHeight="false"></u-input>
</view>
</view>
![lin980818](https://img-cdn-tc.dcloud.net.cn/account/identicon/73cb52db2908f9f14df42faf3d7ad4e2.png)
lin980818
- 发布:2020-12-08 15:52
- 更新:2022-01-24 22:47
- 阅读:1175
u-input textarea 模式下固定显示高度,u-input里面的内容过多,外面的显示高度也会随着增加,求解
分类:uni-app
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20201208/edf937fc1b5e4e47ff14f3d5f62d06c0.png)