<view class="scrollY">
<scroll-view scroll-y class="scrollView">
<view style="height:250rpx" contenteditable="true" v-html="form.companyInfo"
id="companyInfo"></view>
</scroll-view>
</view>
this.form.companyInfo = document.getElementById("companyInfo").innerText;
view {
-webkit-user-select: text;
height: auto;
}
view * {
-webkit-user-select: text
}
.scrollY {
width: 594rpx;
height: 260rpx;
border: 1rpx solid #dcdfe6;
border-radius: 8rpx;
display: flex;
justify-content: center;
}
.scrollView {
height: 250rpx;
width: 590rpx;
}
版权声明:本文为weixin_49295874原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。