Home > other >  Vue introduced echarts - wordcloud error
Vue introduced echarts - wordcloud error

Time:04-17

Code: & lt; Script>
The import echarts from "echarts";
The import "./echarts - wordcloud - master/dist/echarts - wordcloud ";
The import "./echarts - wordcloud - master/dist/echarts - wordcloud. Min ";
Export the default {
Name: "VueWordCloud,"

Error: Uncaught TypeError: o.h elper. CreateTextStyle is not a function
At the Object. The t.l ayoutInstance. Ontouch (echarts - wordcloud. Min. Js: 2)
The at HTMLCanvasElement. G (echarts - wordcloud. Min. Js: 2)
At the eval (echarts - wordcloud. Min. Js: 2)
An Array. Some (& lt; anonymous>)
At D (echarts - wordcloud. Min. Js: 2)
At e (echarts - wordcloud. Min. Js: 2)

Don't know why, VScode is not an error, interface debugging such mistakes, don't show,
  • Related