小程序框架 列表渲染

JS定义一个数组

Wx:for 传入数组

Wx:key index代表数组下标

 该行为遍历数组原内容的语句,不会被渲染打印

原文地址:https://www.cnblogs.com/max-hou/p/11547187.html