我在下面的代码中,Image组件包含两个Image组件。React Native Image不能使用特定的URL
<View style={styles.container} >
<Image
style={{width: 50, height: 50}}
source={{uri: 'https://facebook.github.io/react/img/logo_og.png'}}
/>
<Image
style={{width: 50, height: 50}}
source={{uri: 'http://lghttp.24811.nexcesscdn.net/80B00B/qpb/media/catalog/product/cache/11/image/439x334/9df78eab33525d08d6e5fb8d27136e95/q/w/qw_neverdonejoggers_p_.png'}}
/>
</View>
对于第一个github URL,它按照预期呈现正确的img标志。 然而,对于第二图像不渲染来源:qw_neverdonejoggers_p_.png
这使我的东西错了网址,但在网址点击结论正确加载图:
我试图在这里复制这个问题,https://rnplay.org/apps/_dQXXw 但它呈现正确的图像。
因此,它只能在本地我的电脑,由于某种原因,我可以呈现第二图像?
使用: “反应”: “15.4.1”, “反应原生”: “^ 0.39.2”,