提交 d173947e 编写于 作者: 雪洛's avatar 雪洛

fix: 修复绘制base64图片报错的bug askId: 95050

上级 154857ce
...@@ -360,7 +360,7 @@ export default { ...@@ -360,7 +360,7 @@ export default {
} else { } else {
// 解决 PLUS-APP(wkwebview)以及 H5 图像跨域问题(H5图像响应头需包含access-control-allow-origin) // 解决 PLUS-APP(wkwebview)以及 H5 图像跨域问题(H5图像响应头需包含access-control-allow-origin)
if (window.plus && src.indexOf('http://') !== 0 && src.indexOf('https://') !== if (window.plus && src.indexOf('http://') !== 0 && src.indexOf('https://') !==
0) { 0 && !/^data:.*,.*/.test(src)) {
loadFile(src) loadFile(src)
} else if (/^data:.*,.*/.test(src)) { } else if (/^data:.*,.*/.test(src)) {
self._images[src].src = src self._images[src].src = src
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册