codingbees commented on issue #7000: URL: https://github.com/apache/incubator-echarts/issues/7000#issuecomment-744356874
> 临时解决方案: > > 1. 引入echarts的地方改为 > > ``` > import * as echarts from 'echarts' > ``` > > 1. webpack的DefinePlugin里加入如下字段 > > ``` > // 此处根据情况自行修改,结果为boolean就行,true的情况下会多一些日志信息 > '__DEV__': process.env.node_env === 'dev' > ``` > > 或者 > `npm un echarts && npm i -E [email protected] [email protected]` 感谢,亲测有效 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
