Compare commits

...

4 Commits

Author SHA1 Message Date
c1881757a8 update dist and lib folder 2019-10-24 14:12:52 +08:00
a02654a565 update version to 2.4.7 2019-10-24 14:12:09 +08:00
36f9c6f8ab update change log 2019-10-24 14:11:25 +08:00
0b270cda52 Optimize memory leaks 2019-10-24 14:09:32 +08:00
8 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,10 @@
# 2.4.7-alpha (2019-10-24)
### perfect
- **charts:** Optimize memory leaks.
- **digitalFlop:** Optimize memory leaks.
# 2.4.6-alpha (2019-10-24) # 2.4.6-alpha (2019-10-24)
### Bug Fixes ### Bug Fixes

View File

@ -16757,7 +16757,7 @@
} = this; } = this;
if (!chart) return; if (!chart) return;
if (!option) option = {}; if (!option) option = {};
chart.setOption(option); chart.setOption(option, true);
} }
}, },
@ -16809,7 +16809,7 @@
/* style */ /* style */
const __vue_inject_styles__$m = function (inject) { const __vue_inject_styles__$m = function (inject) {
if (!inject) return if (!inject) return
inject("data-v-507831a4_0", { source: ".dv-charts-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-charts-container .charts-canvas-container {\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;AACA;EACE,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-charts-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-charts-container .charts-canvas-container {\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined }); inject("data-v-5e36f670_0", { source: ".dv-charts-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-charts-container .charts-canvas-container {\n width: 100%;\n height: 100%;\n}\n", map: {"version":3,"sources":["main.vue"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;AACA;EACE,WAAW;EACX,YAAY;AACd","file":"main.vue","sourcesContent":[".dv-charts-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-charts-container .charts-canvas-container {\n width: 100%;\n height: 100%;\n}\n"]}, media: undefined });
}; };
/* scoped */ /* scoped */
@ -17018,6 +17018,7 @@
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);
}, },
@ -17057,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-9869eff4_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-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 });
}; };
/* scoped */ /* scoped */

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ export default {
if (!option) option = {} if (!option) option = {}
chart.setOption(option) chart.setOption(option, true)
} }
}, },
methods: { methods: {

View File

@ -165,6 +165,8 @@ 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)
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@jiaminghi/data-view", "name": "@jiaminghi/data-view",
"version": "2.4.6", "version": "2.4.7",
"author": "JiaMing <743192023@qq.com>", "author": "JiaMing <743192023@qq.com>",
"description": "Vue Large screen data display component library", "description": "Vue Large screen data display component library",
"main": "lib/index.js", "main": "lib/index.js",

View File

@ -35,7 +35,7 @@ export default {
if (!option) option = {} if (!option) option = {}
chart.setOption(option) chart.setOption(option, true)
} }
}, },
methods: { methods: {

View File

@ -165,6 +165,8 @@ 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)
}, },