update dist and lib

This commit is contained in:
JiaMing
2019-10-25 10:57:11 +08:00
parent 5c52f9d6b0
commit 9f26ff6280
3 changed files with 5 additions and 5 deletions

View File

@ -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)
},