AJAX调用成功后,<img/>标记无法呈现

时间:2017-05-16 23:41:22

标签: javascript react-native

我正在努力完成this tutorial。它正在运行,但是当运行搜索时,结果列表不会像预期那样呈现图片:

enter image description here

enter image description here

代码位于my repomobile/react_native/ray_wenderlich_tutorial/PropertySearch,只有iOS版本有效。

默认API调用是http://api.nestoria.co.uk/api?country=uk&pretty=1&encoding=json&listing_type=buy&action=search_listings&page=1&place_name=london

访问img_url,例如https://imgs.nestimg.com/flat_london_106825165453517629.jpg,确实有效。

我没有在控制台中看到错误,只是<Image>似乎无法呈现,无声。

0 个答案:

没有答案