Optimize the update process
This commit is contained in:
		| @@ -151,6 +151,8 @@ export default { | ||||
|     update () { | ||||
|       const { mergeConfig, mergeShape, getShape, getStyle, graph, mergedConfig } = this | ||||
|  | ||||
|       graph.animationEnd() | ||||
|  | ||||
|       mergeConfig() | ||||
|  | ||||
|       if (!graph) return | ||||
| @@ -165,8 +167,6 @@ 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