qwecxzpoi commented on issue #18372:
URL: https://github.com/apache/echarts/issues/18372#issuecomment-2065700707

   找到问题了,如果是全局引用就会存在这个问题,如果是按需加载就没有这个问题。简单搜了一下源码,里面有部分组件是相互引用了。
   存在问题:
   ``` javascript
   import 'echarts-gl'
   ```
   
   解决问题:
   ``` javascript
   import { init, registerMap, use } from 'echarts'
   import { Lines3DChart, Map3DChart } from 'echarts-gl/charts'
   import { Grid3DComponent } from 'echarts-gl/components'
   
   use([Map3DChart, Lines3DChart, Grid3DComponent])
   ```


-- 
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-unsubscr...@echarts.apache.org

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


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

Reply via email to