Optimize memory leaks

This commit is contained in:
JiaMing committed 2019-10-24 14:09:32 +08:00
1 parent 2ca217a8af
commit 0b270cda52
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ export default {
if (!option) option = {}
chart.setOption(option)
chart.setOption(option, true)
}
},
methods: {
+2
View File
@@ -165,6 +165,8 @@ export default {
graph.animationCurve = animationCurve
graph.animationFrame = animationFrame
graph.animationEnd()
graph.animation('style', style, true)
graph.animation('shape', shape)
},