atr-components 0.2.233 → 0.2.234
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4795,7 +4795,6 @@ class ImgCanvasComponent {
|
|
|
4795
4795
|
let context1 = this.canvasDom.getContext('2d');
|
|
4796
4796
|
this.img = new Image(); //创建img元素
|
|
4797
4797
|
this.img.setAttribute('crossOrigin', 'anonymous');
|
|
4798
|
-
this.img.crossOrigin = 'anonymous';
|
|
4799
4798
|
this.img.src = this.imgUrl; //设置图片源地址
|
|
4800
4799
|
// this.img.src = ToolsUtil.getOssUrl(this.imgUrl);//设置图片源地址
|
|
4801
4800
|
this.img.onload = () => {
|