ReferenceError: zrUtil is not defined
See original GitHub issueOne-line summary [问题简述]
js 报错 某些android版本手机报错
[Vue warn]: Error in callback for watcher "options": "ReferenceError: zrUtil is not defined"
折线图无法正常显示
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 4.10
- Browser version [浏览器类型和版本]:
- OS Version [操作系统类型和版本]: vivo X6Plus L android 5.1 还有另一款手机忘记了叫什么型号,也是版本比较低的 公司也就几台测试机,两台报的相同的错误
Expected behaviour [期望结果]
4.10没这个问题的报错
我这里已经解决,
package.json
"echarts": "^4.0.4",
改为 package.json
"echarts": "4.0.4",
^
去掉。把版本号锁死在4.0.4,^
会升级小版本
重现装包
特意提issues,遇到相同问题有参考
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:11
Top Results From Across the Web
ReferenceError: zrUtil is not defined · Issue #8452 - GitHub
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest...
Read more >Error in mounted hook: "ReferenceError: zrUtil is not defined
将let echarts = require('echarts/lib/echarts')修改成let echarts = require('echarts')即可。
Read more >Node App - ReferenceError: uriUtil is not defined
You can replace this line: var mongooseUri = uriUtil.formatMongoose(mongodbUri);. Which this line: var mongooseUri =require('mongodb-uri').
Read more >[Vue warn]: Error in mounted hook: "ReferenceError: zrUtil is ...
我们在vue开发过程中,经常会遇到Error in v-on handler: “ReferenceError: * * is not defined” 这是因为我们在开发过程中,items未定义,或者相应的组件还没有导入,...
Read more >org.apache.echarts.commits - 2019 December - 1,127 ... - MarkMail
[GitHub] [incubator-echarts] pissang opened a new issue #11788: Set emphasis ... commented on issue #8452: ReferenceError: zrUtil is not defined - GitBox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
安卓5.1.1 echart 4.1 echart 为pie类型时报同样的错误
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!