摘要: 一. 以fetch的获取数据 1. response(后台返回): const buffer = response.arrayBuffer(),将二级制转成arrayBuffer类型 2. buffer转成base64 function arrayBufferToBase64 = buffer => { let binary = ''; const bytes = new Uint... 阅读全文
posted @ 2018-08-30 19:40 巫瞅瞅 阅读(15013) 评论(0) 推荐(0) 编辑