From b78d686c93d96ed1b07411c348dede9050c10f8f Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Wed, 17 Mar 2021 18:29:22 +0800 Subject: [PATCH] =?UTF-8?q?BI-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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/widget/intervalslider/intervalslider.js b/src/widget/intervalslider/intervalslider.js index a4b99df81..b7dc379b5 100644 --- a/src/widget/intervalslider/intervalslider.js +++ b/src/widget/intervalslider/intervalslider.js @@ -343,12 +343,6 @@ BI.IntervalSlider = BI.inherit(BI.Single, { _resetLabelPosition: function(needReverse) { this.labelOne.element.css({left: needReverse ? "100%" : "0%"}); this.labelTwo.element.css({left: needReverse ? "0%" : "100%"}); - // 掉转一次之后,再进行判断时,two在左边,one在右边,two>one时不再进行交换,所以要对两个控件也同步进行一个调转 - if (needReverse) { - var tmp = this.labelOne; - this.labelOne = this.labelTwo; - this.labelTwo = tmp; - } }, _setSliderOnePosition: function (percent) {