今在项目中遇到一个问题,https请求的验证码图片在IE11中显示不了。解决办法如下:<img id="captcha"/>$.post("/login/showCaptcha", new Date().getTime(), function (base64Img) {if (base64Img) {$("#captcha").attr("src", "data:image/png;base64," + base64Img);}})
1500字范文,内容丰富有趣,写作好帮手!
时间:2022-02-06 13:07:46
今在项目中遇到一个问题,https请求的验证码图片在IE11中显示不了。解决办法如下:<img id="captcha"/>$.post("/login/showCaptcha", new Date().getTime(), function (base64Img) {if (base64Img) {$("#captcha").attr("src", "data:image/png;base64," + base64Img);}})