For developer:Do not set same key "[object Object]" in wx:key

Posted 道法自然

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了For developer:Do not set same key "[object Object]" in wx:key相关的知识,希望对你有一定的参考价值。

wx:for="{{orders}}"
wx:key="*this" ==> "index"
num="{{item.num}}"
price="{{item.price}}"
title="{{item.title}}"
 
问题解决。
*this 以前我们学习c的时候,还有java的时候,知道这个是指表对象本身。
 
key应该只要一个值index就可以。

以上是关于For developer:Do not set same key "[object Object]" in wx:key的主要内容,如果未能解决你的问题,请参考以下文章

MySQL Strict Mode is not set for database connection 'default'

Django: Forbidden (CSRF cookie not set.): for DELETE request

django:ySQL Strict Mode is not set for database connection 'default'

BertTokenizer警告Be aware, overflowing tokens are not returned for the setting you have chosen, i.e. s

Package inputenc: Unicode character ​ (U+200B) (inputenc) not set up for use with LaTeX.

Package inputenc: Unicode character ​ (U+200B) (inputenc) not set up for use with LaTeX.