Optimize memory leaks
This commit is contained in:
parent
2ca217a8af
commit
0b270cda52
|
@ -35,7 +35,7 @@ export default {
|
|||
|
||||
if (!option) option = {}
|
||||
|
||||
chart.setOption(option)
|
||||
chart.setOption(option, true)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -165,6 +165,8 @@ export default {
|
|||
graph.animationCurve = animationCurve
|
||||
graph.animationFrame = animationFrame
|
||||
|
||||
graph.animationEnd()
|
||||
|
||||
graph.animation('style', style, true)
|
||||
graph.animation('shape', shape)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue