echarts Cannot read property ‘init‘ of undefined 報錯問題
檢視引入對錯
Error in mounted hook: “TypeError: Cannot read property ‘init’ of undefined”
我直接 import echarts from 'echarts’時也會報錯,是以後面修改了引入時的寫法import * as echarts from 'echarts’
檢視引入對錯
Error in mounted hook: “TypeError: Cannot read property ‘init’ of undefined”
我直接 import echarts from 'echarts’時也會報錯,是以後面修改了引入時的寫法import * as echarts from 'echarts’