Filtering a promise array

后端 未结 0 957
悲哀的现实
悲哀的现实 2020-11-27 19:46
if (filterLabel) {
result = result.filter((r) =>
  (r.labels).map((l) => l.name === filterLabel));}

The Error is "Property \'map\' does n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题