Closed GreatHonour closed 1 year ago
按需引入问题
Hi bro, could you share some detailed explanation? I encountered the same problem. But I think I am importing the whole package through import(/* webpackChunkName: "echarts" */ "echarts")
.
I have the exact same error stack as yours:
Is there any new process?
Make sure that the echarts-wordclound warehouse is successfully introduced before executing the echarts.init method.
WordCloudView.js:14 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'ondraw') at ExtendedClass.render (WordCloudView.js:14:1) at Task.progress (Chart.js:233:1) at Task._doProgress (task.js:187:1) at Task.perform (task.js:153:1) at eval (echarts.js:1824:1) at GlobalModel.eval (Global.js:654:1) at Array.forEach ()
at each (util.js:205:1)
at GlobalModel.eachSeries (Global.js:651:1)
at renderSeries (echarts.js:1812:1)