From 1b1091765091eb25db2ecb3e65189e48f0893567 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 14 Aug 2018 16:07:53 +0800 Subject: [PATCH] update --- src/widget/intervalslider/intervalslider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/intervalslider/intervalslider.js b/src/widget/intervalslider/intervalslider.js index b56e84508..f5191bf82 100644 --- a/src/widget/intervalslider/intervalslider.js +++ b/src/widget/intervalslider/intervalslider.js @@ -485,10 +485,10 @@ BI.IntervalSlider = BI.inherit(BI.Single, { valueTwo = o.digit === false ? valueTwo : valueTwo.toFixed(o.digit); if (!isNaN(valueOne) && !isNaN(valueTwo)) { if (this._checkValidation(valueOne)) { - this.valueOne = valueOne; + this.valueOne = (this.valueOne <= this.valueTwo ? valueOne : valueTwo); } if (this._checkValidation(valueTwo)) { - this.valueTwo = valueTwo; + this.valueTwo = (this.valueOne <= this.valueTwo ? valueTwo : valueOne); } if (valueOne < this.min) { this.valueOne = this.min;