摘要: 项目中需要上传图片到服务器。最初思路使用input选择图片后获取base64,直接传送base64编码到后台。 <input type="file" accept="image/*" multiple @change="headImgChange" class="image_file"> 在chan 阅读全文
posted @ 2019-02-16 18:14 胖虎西西 阅读(10972) 评论(0) 推荐(0) 编辑