ecomfe / vue-echarts

Vue.js component for Apache ECharts™.
https://vue-echarts.dev
MIT License
9.65k stars 1.48k forks source link

vue3 使用vue-echarts会报错 help me #734

Closed ZhangMin1998 closed 1 year ago

ZhangMin1998 commented 1 year ago

Confirmation

How are you introducing Vue-ECharts into your project?

ES Module imports

Versions

echarts ^5.4.3
vue-echarts ^6.6.1

Details

[Vue warn]: Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function. image

Reproduction

0.0

Justineo commented 1 year ago

Minimal reproduction is required.

Justineo commented 1 year ago

Closing this for now. Please open a new issue if you can provide a minimal reproduction.

ZhangMin1998 commented 1 year ago

I didn't understand why an error was reported in Vue3

ChengJieLiu3 commented 5 months ago

same problem for me!

Justineo commented 5 months ago

Maybe you are importing multiple versions of vue.