diff --git a/changelog.md b/changelog.md index d480587b1..c23791f5b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2020-09) +- 修复区间滑块setEnable(false)滑块不灰化的问题 - 修复同步复选下拉框系列setValue所有值后触发器不显示全选的问题 - BI.Tree.traversal方法迭代函数增加父节点参数 diff --git a/src/widget/intervalslider/intervalslider.js b/src/widget/intervalslider/intervalslider.js index e8b09fcc4..ff1b98db2 100644 --- a/src/widget/intervalslider/intervalslider.js +++ b/src/widget/intervalslider/intervalslider.js @@ -483,10 +483,10 @@ BI.IntervalSlider = BI.inherit(BI.Single, { this.valueOne = minNumber; this.valueTwo = maxNumber; this.precision = this._getPrecision(); - this._setDraggableEnable(true); + this.setEnable(true); } if (maxNumber === minNumber) { - this._setDraggableEnable(false); + this.setEnable(false); } },