​​js 将base64转为图片​​



var imgurl = response.data;

$(".codeimg").attr('src','data:image/png;base64,'+imgurl);

var validate = response.validate;