Skip to content
On this page

vue ​

vite vue3 echarts ​

ECharts——运行错误[TypeError: Cannot read property ‘type‘ of undefined]解决方案

js
const chart = ref(null)
// 改成
const chart = shallowRef(null)