You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/03/02 06:30:55 UTC

[echarts-examples] branch gh-pages updated: fix image cors error

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new 481435f  fix image cors  error
481435f is described below

commit 481435fe2e1fdb9d204628eb5b9edab9dc4933fd
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Mar 2 14:30:03 2021 +0800

    fix image cors  error
---
 public/data-gl/bar3d-myth.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/data-gl/bar3d-myth.js b/public/data-gl/bar3d-myth.js
index 5b62671..c143078 100644
--- a/public/data-gl/bar3d-myth.js
+++ b/public/data-gl/bar3d-myth.js
@@ -101,3 +101,4 @@ img.onload = function () {
 }
 
 img.src = ROOT_PATH + '/data-gl/asset/sample.jpg';
+img.crossOrigin = 'Anonymous';


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org