due to business needs, I want to request (stream) through the network in the vue code of native weex to read a picture and display it on the page. I am listening to the return of the request, and the picture has been returned normally. Please tell me, how can I read the stream and display it in the interface?
<image :src="picSr" resize="contain"></image>
stream.fetch({
method: "GET",
url: url,
type: "arraybuffer"
} (resp) => {
//(blob)?
this.picSr = resp.data //new Filereader, new Blob
},
(resp)=>{
//progressCallback
})