ecomfe / vue-echarts

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

loading / loadingOptions props not working in vue 2.7 #637

Closed youthug closed 2 years ago

youthug commented 2 years ago

Confirmation

How are you introducing Vue-ECharts into your project?

ES Module imports

Versions

├── echarts@5.3.3 
├── vue@2.7.3 
└── vue-echarts@6.2.3

Details

loading won't change chart's loading animation and loadingOptions doesn't take effect either

Reproduction

https://stackblitz.com/edit/vitejs-vite-jak4rr?file=src/App.vue

Justineo commented 2 years ago

The issue seems to be already resolved after upgrading to vue@2.7.4.

See https://stackblitz.com/edit/vitejs-vite-nkf98x

Justineo commented 2 years ago

F.Y.I. The related issue: https://github.com/vuejs/vue/issues/12624