wemark icon indicating copy to clipboard operation
wemark copied to clipboard

非本地数据<br>标签换行BUG

Open ariselee opened this issue 5 years ago • 3 comments

应用场景:小程序标签 原始数据:<font size=2>七天质量派单</font>|<font size=2>时间:2020-01-07 00:00:00<br>数量:<font color=red>0</font><font> 数据方式:非本地数据,从后台程序RESTFUL接口获取 问题现象:本地死数据时(本地json文件),软换行可以正常显示换行。但当数据从服务器接口获取时,其他标签正常显示,唯有<br>、<BR>、双空格都不能正确显示换行。页面调试查看也未生成。

界面

ariselee avatar Jan 15 '20 02:01 ariselee

用的什么方式渲染的?本地数据也完整地发一下。

TooBug avatar Jan 15 '20 03:01 TooBug

WXML:<view class="task-bottom" wx:if="{{item.contentType == '1'}}"> <wemark md="{{item.remark}}" link highlight type="wemark"></wemark> </view> 原始数据:|表名|2020-01-13| |---|---| |<font size=2>七天质量派单</font>|<font size=2>时间:2020-01-07 00:00:00<br>数量:<font color=red>0</font><font>| |<font size=2>一级分光器派单</font>|<font size=2>时间:2020-01-09 13:05:01<br>数量:<font color=red>0</font><font>|

ariselee avatar Jan 15 '20 03:01 ariselee

WXML:<view class="task-bottom" wx:if="{{item.contentType == '1'}}"> <wemark md="{{item.remark}}" link highlight type="wemark"></wemark> </view>

原始数据:|表名|2020-01-13| |---|---| |<font size=2>七天质量派单</font>|<font size=2>时间:2020-01-07 00:00:00<br>数量:<font color=red>0</font><font>| |<font size=2>一级分光器派单</font>|<font size=2>时间:2020-01-09 13:05:01<br>数量:<font color=red>0</font><font>|

企业微信截图_20200115111139 不小心点了一下closed~~

ariselee avatar Jan 15 '20 03:01 ariselee