You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/10/14 05:47:03 UTC

[GitHub] [echarts] plainheart commented on issue #17766: [Bug] node服务端配置项图形组件渲染时报错

plainheart commented on issue #17766:
URL: https://github.com/apache/echarts/issues/17766#issuecomment-1278514314

   你应该通过 [`setPlatformAPI`](https://echarts.apache.org/zh/api.html#echarts.setPlatformAPI) 重写自己的 image loader 实现。
   
   ```js
   echarts.setPlatformAPI({
     loadImage(src, onload, onerror) {
        // 加载图片
     }
   })
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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