微信小程序图片流处理
# {}
- 转换方法
Vue.prototype.getImgUrl = (arraybuffer) => {
return "data:image/png;base64," + uni.arrayBufferToBase64(arraybuffer)
}
1
2
3
2
3
上次更新: 2024/03/31, 18:31:51
Adinnet-Web Vue.prototype.getImgUrl = (arraybuffer) => {
return "data:image/png;base64," + uni.arrayBufferToBase64(arraybuffer)
}