31702160109 commented on issue #16902:
URL: https://github.com/apache/echarts/issues/16902#issuecomment-1555877441

   "echarts": "^5.4.2"
   
   这个问题刚刚遇到了,解决办法将引入地图文件的方式改一下。
   将
   import "echarts/map/js/china.js"
   改为
   require("echarts/map/js/china.js")
   生产环境就不会报错。


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to