Optimize memory leaks
This commit is contained in:
		| @@ -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) | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 JiaMing
					JiaMing