From f2e994dfd2a070b58d4c641beb5a74c0b967580a Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Tue, 4 Apr 2023 16:52:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE-=E6=B5=81=E5=90=91?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D=E5=8A=A8=E7=94=BB?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=92=8C=E6=B8=90=E5=8F=98=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/map/map_antv.js | 10 +++++----- .../views/chart/components/shapeAttr/ColorSelector.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/views/chart/chart/map/map_antv.js b/frontend/src/views/chart/chart/map/map_antv.js index d6470552cf..087fbbedba 100644 --- a/frontend/src/views/chart/chart/map/map_antv.js +++ b/frontend/src/views/chart/chart/map/map_antv.js @@ -52,19 +52,19 @@ export function baseFlowMapOption(chartDom, chartId, chart, action) { .shape(size.mapLineType) .animate({ enable: size.mapLineAnimate, - interval: size.lineAnimateInterval, - trailLength: size.lineAnimateTrailLength, - duration: size.lineAnimateDuration + duration: size.mapLineAnimateDuration, + interval: size.mapLineAnimateInterval, + trailLength: size.mapLineAnimateTrailLength }) if (color.mapLineGradient) { lineLayer.style({ sourceColor: color.mapLineSourceColor, targetColor: color.mapLineTargetColor, - opacity: (color.alpha / 100).toFixed(1) + opacity: color.alpha / 100 }) } else { lineLayer.style({ - opacity: (color.alpha / 100).toFixed(1) + opacity: color.alpha / 100 }) .color(color.mapLineSourceColor) } diff --git a/frontend/src/views/chart/components/shapeAttr/ColorSelector.vue b/frontend/src/views/chart/components/shapeAttr/ColorSelector.vue index 3a463782e9..79f75a8630 100644 --- a/frontend/src/views/chart/components/shapeAttr/ColorSelector.vue +++ b/frontend/src/views/chart/components/shapeAttr/ColorSelector.vue @@ -316,11 +316,11 @@