Set img src from Byte Array

后端 未结 3 1844
不思量自难忘°
不思量自难忘° 2020-12-01 21:50

I need to set the img src property from a byte array that I have in a Object.


    

        
3条回答
  •  生来不讨喜
    2020-12-01 22:38

    Replace the jpg with the type of image, and [your byte array] with your byte array. You need to convert it to base64 if it isn't already.

    
    

提交回复
热议问题