Browse Source

Pull request #3536: BI-126032 fix: 设置不生效

Merge in VISUAL/fineui from ~JIMMY.CHAI/fineui:es6 to es6

* commit '8ab0b25f33a1ee3c5d2a95a4f82ecbb4829be9f3':
  BI-126032 fix: 设置不生效
es6
Jimmy.Chai-柴嘉明 2 years ago
parent
commit
4bcd330b40
  1. 2
      packages/fineui/src/widget/singleslider/singleslider.js

2
packages/fineui/src/widget/singleslider/singleslider.js

@ -141,7 +141,7 @@ export class SingleSlider extends Single {
}
);
this.label.on(SignEditor.EVENT_CONFIRM, () => {
const v = parseFloat(this.getValue());
const v = parseFloat(this.label.getValue());
const percent = this._getPercentByValue(v);
const significantPercent = parseFloat(percent.toFixed(1));
this._setAllPosition(significantPercent);

Loading…
Cancel
Save