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

   > @konipabai 找到问题了,如果是全局引用就会存在这个问题,如果是按需加载就没有这个问题。初步猜测是这个包有些组件依赖了 
geo3D,就自己引用了。
   > 
   > 存在警告:
   > 
   > ```js
   > import 'echarts-gl'
   > ```
   > 
   > 解决问题:
   > 
   > ```js
   > 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