const {base64Image } = this.props;
let baseImg=`data:image/png;base64,${base64Image}`;
<Image style={styles.rightImage} source={{uri:baseImg}}/>
const {base64Image } = this.props;
let baseImg=`data:image/png;base64,${base64Image}`;
<Image style={styles.rightImage} source={{uri:baseImg}}/>
本文标题:React Native 加载base64图片
本文链接:https://www.haomeiwen.com/subject/ktfnmftx.html
网友评论