You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/03/01 03:35:15 UTC
[GitHub] xiaohuapunk opened a new issue #2175: [iOS] for循环数组,用unshift添加的数据在richtext组件中数据渲染不正确
xiaohuapunk opened a new issue #2175: [iOS] for循环数组,用unshift添加的数据在richtext组件中数据渲染不正确
URL: https://github.com/apache/incubator-weex/issues/2175
iOS WeexSDK 0.20.1
在循环中同时放text(左侧)和richtext(右侧),然后向数组中unshift数据,richtext有很大几率出现错误(重复上一次)的数据,(push添加数据时是没有这个问题的)
`<cell v-for="(item,index) in list" :key="index">
<text>text:{{item.message}}</text>
<richtext>
<span>richtext:{{item.message}}</span>
</richtext>
</cell>`
测试demo http://dotwe.org/vue/a32f49b30732d20324fc67586249078f
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services