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

@ -17007,6 +17007,7 @@
graph, graph,
mergedConfig mergedConfig
} = this; } = this;
graph.animationEnd();
mergeConfig(); mergeConfig();
if (!graph) return; if (!graph) return;
const { const {
@ -17018,7 +17019,6 @@
mergeShape(graph, shape); mergeShape(graph, shape);
graph.animationCurve = animationCurve; graph.animationCurve = animationCurve;
graph.animationFrame = animationFrame; graph.animationFrame = animationFrame;
graph.animationEnd();
graph.animation('style', style, true); graph.animation('style', style, true);
graph.animation('shape', shape); graph.animation('shape', shape);
}, },
@ -17058,7 +17058,7 @@
/* style */ /* style */
const __vue_inject_styles__$n = function (inject) { const __vue_inject_styles__$n = function (inject) {
if (!inject) return if (!inject) return
inject("data-v-801cb4a4_0", { source: ".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined }); inject("data-v-2cf25a2e_0", { source: ".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
}; };
/* scoped */ /* scoped */

File diff suppressed because one or more lines are too long

View File

@ -151,6 +151,8 @@ export default {
update () { update () {
const { mergeConfig, mergeShape, getShape, getStyle, graph, mergedConfig } = this const { mergeConfig, mergeShape, getShape, getStyle, graph, mergedConfig } = this
graph.animationEnd()
mergeConfig() mergeConfig()
if (!graph) return if (!graph) return
@ -165,8 +167,6 @@ export default {
graph.animationCurve = animationCurve graph.animationCurve = animationCurve
graph.animationFrame = animationFrame graph.animationFrame = animationFrame
graph.animationEnd()
graph.animation('style', style, true) graph.animation('style', style, true)
graph.animation('shape', shape) graph.animation('shape', shape)
}, },