我得到API响应,获得响应后,我应用了一些过滤器,并希望将结果分配给状态变量。
这就是我想要做的:
published_date = models.DateTimeField(_('Date published'), default=datetime.datetime.today, null=True, blank=True, help_text=_('The date the feed was published'))
# ^ no parens
再次针对此failureResultValue,我正在应用过滤器并能够实现结果,即
filtered = this.state.result
.filter(value => value.Date == bar.Date)
.reduce((acc, e) => acc.concat(e.FailureDeatils), []);
this.setState({ failureResultValue: filtered });<-- Here I am able to set the filtered to failureResultValue.
有人能找出我要去哪里吗?
答案 0 :(得分:1)
pyPDF2
tika java
您可以像这样检查