+
95
-

js中new image onload跨域问题如何解决?

js中new image onload跨域问题如何解决?


网友回复

+
15
-

设置imgage的属性.crossOrigin = 'anonymous';,代码如下:

const img ...

点击查看剩余70%

我知道答案,我要回答