Parcourir la Source

修复base64未显示图片的bug

liufl5 5 ans auparavant
Parent
commit
b219bdb1ad

+ 1 - 1
show-server/src/main/webapp/biz/js/plugins/safe/screenCapture.js

@ -30,7 +30,7 @@ require(["ipuMobile","jquery","common","ipuUI"],function (WadeMobile,$,Common) {
30 30
		var type = 1;
31 31
		WadeMobile.fullScreenCapture(function(path) {
32 32
			$("#screenCapture_path").html("回调结果:" + path);
33
			$("#screenCapture_pic").html("<img src='" + path + "' style='max-width:60%;'/>");
33
			$("#screenCapture_pic").html("<img src='"+ "data:image/jpeg;base64," + path + "' style='max-width:60%;'/>");
34 34
		},type);
35 35
	});
36 36