Runtime warning appears in the WeChat applet wxml

When a small program develops a warning like the following, although it does not affect the running of the program, it is just annoying to see it, how to solve it?

In fact, this has already helped us point out where the problematic code is.

 The solution is very simple, just add wx:key="key" after all wx:for, of course, the key here can be written casually

 Done!

Guess you like

Origin blog.csdn.net/laya1211/article/details/129004471