已知对象 {curr: {…}, examine: Array(2)}
//写法不报错,但是和预计循环examine不一致,会循环整个对象 {{each (examine || [])}} <tr>...</tr> {{/each}} //改为如下,循环和预计一致 {{set list = examine || [] }} {{each list}} <tr>...</tr> {{/each}}
each是只支持后接变量的写法么
2.1m questions
2.1m answers
63 comments
56.6k users