From eeeac08086fcb85fbc5c4f737b6a6d2632214524 Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Wed, 17 Mar 2021 18:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=09BI-83103=20fix:=E5=8C=BA=E9=97=B4=E6=BB=91?= =?UTF-8?q?=E5=9D=97=E5=80=BC=E6=9C=80=E5=B0=8F=E5=80=BC=E5=A4=A7=E4=BA=8E?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=80=BC=EF=BC=8C=E6=95=B0=E5=80=BC=E4=B8=8D?= =?UTF-8?q?=E4=BC=9A=E9=A2=A0=E5=80=92=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/intervalslider/intervalslider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/intervalslider/intervalslider.js b/src/widget/intervalslider/intervalslider.js index b7dc379b5..df8d0e796 100644 --- a/src/widget/intervalslider/intervalslider.js +++ b/src/widget/intervalslider/intervalslider.js @@ -335,7 +335,7 @@ BI.IntervalSlider = BI.inherit(BI.Single, { valueOne = BI.parseFloat(valueOne); valueTwo = BI.parseFloat(valueTwo); if((oldValueOne <= oldValueTwo && valueOne > valueTwo) || (oldValueOne >= oldValueTwo && valueOne < valueTwo)) { - var isSliderOneLeft = BI.parseFloat(this.sliderOne.element[0].style.left) < BI.parseFloat(this.sliderTwo.element[0].style.left); + var isSliderOneLeft = BI.parseFloat(this.labelOne.getValue()) < BI.parseFloat(this.labelTwo.getValue()); this._resetLabelPosition(!isSliderOneLeft); } },