view 容器 + white-space: pre-wrap
<view class="ub-f1" style="white-space: pre-wrap">
<view class="key">备注信息</view>
<view class="val">{{dataMap.remark || '-'}}</view>
</view>
view 容器 + white-space: pre-wrap
<view class="ub-f1" style="white-space: pre-wrap">
<view class="key">备注信息</view>
<view class="val">{{dataMap.remark || '-'}}</view>
</view>