1

如何在 pugjs 中的 if 语句中遍历对象“item”?如果相同的计数不存在,我想跳过给定的“项目”(如果它跳过此循环,我将执行其他功能。

each item in testResultData
    if !item.identicalCount
      //need to iterate to next object "item" in testResultData here...

我一直未能在 stackOverflow 或 pugjs.org 上找到与此相关的文档或答案。

4

0 回答 0