跳到正文
本页尚未翻译成中文,以下为英文原文。 查看英文版

Missing Iterable Differ ​

NgFor could not find an iterable differ for the value passed in. Make sure it's an iterable, like an Array.

Debugging the error ​

When using ngFor in a template, you must use some type of Iterable, like Array or Set. If you're trying to iterate over the keys in an object or the entries of a Map, you should look at the KeyValue pipe instead.

基于 MIT 许可证发布。