refactor: remove ECharts instance from data for performance boost

This commit is contained in:
yuanyuan07
2018-08-17 11:20:01 +08:00
committed by Justineo
parent 92bad85cc4
commit 020fb5ce73

View File

@ -64,7 +64,7 @@ export default {
}, },
data () { data () {
return { return {
chart: null, // deleted to make this.chart not reactive
lastArea: 0 lastArea: 0
} }
}, },