在浏览器中直接打如下代码。其中adcd为图片转成的string data:image/jpeg;base64,abcd 转载于:https://www.cnblogs.com/taoshengyujiu/p/5968601.html