mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-16 12:52:48 +08:00
refactor: remove ECharts instance from data for performance boost
This commit is contained in:
@ -64,7 +64,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
chart: null,
|
// deleted to make this.chart not reactive
|
||||||
lastArea: 0
|
lastArea: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user