From 23e56722012cefbc390b55eda8291e6c52a8c529 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 19 Oct 2017 10:09:16 +0800 Subject: [PATCH] update --- bi/sliders.js | 3 +-- dist/sliders.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bi/sliders.js b/bi/sliders.js index 40ca9a54c..0f21ed46f 100644 --- a/bi/sliders.js +++ b/bi/sliders.js @@ -641,7 +641,7 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { }] }], rgap: c.EDITOR_R_GAP, - height: 70 + height: 50 }, top: 0, left: 0, @@ -875,7 +875,6 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { var valueOne = BI.parseFloat(v.min); var valueTwo = BI.parseFloat(v.max); valueOne = o.digit === false ? valueOne : valueOne.toFixed(o.digit); - valueOne = o.digit === false ? valueOne : valueOne.toFixed(o.digit); if (!isNaN(valueOne) && !isNaN(valueTwo)) { if (this._checkValidation(valueOne)) { this.valueOne = valueOne; diff --git a/dist/sliders.js b/dist/sliders.js index 40ca9a54c..0f21ed46f 100644 --- a/dist/sliders.js +++ b/dist/sliders.js @@ -641,7 +641,7 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { }] }], rgap: c.EDITOR_R_GAP, - height: 70 + height: 50 }, top: 0, left: 0, @@ -875,7 +875,6 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { var valueOne = BI.parseFloat(v.min); var valueTwo = BI.parseFloat(v.max); valueOne = o.digit === false ? valueOne : valueOne.toFixed(o.digit); - valueOne = o.digit === false ? valueOne : valueOne.toFixed(o.digit); if (!isNaN(valueOne) && !isNaN(valueTwo)) { if (this._checkValidation(valueOne)) { this.valueOne = valueOne;