同一个页面两个 wx:for ,一个写wx:key="*this" 另一个怎么写都会警告,BUG?

发布于 9 年前作者 chaoqin5813 次浏览最后编辑 9 年前来自 ask

同一个页面两个 wx:for ,一个写wx:key=“*this” 另一个怎么写都会警告,

Do not set same key \“[object Object]\” in wx:key.

代码片段:

https://developers.weixin.qq.com/s/Ahnyepmk7CfP

2 回复
leijing
leijing1 楼6 年前

https://developers.weixin.qq.com/s/Ahnyepmk7CfP

代码片段在这,setData的时候才会发生,忘记说了

ming21
ming212 楼6 年前