This commit is contained in:
梁灏 2017-09-04 15:42:18 +08:00
parent 322960e090
commit b324bb4d2e
2 changed files with 14 additions and 15 deletions

View file

@ -47,7 +47,7 @@
prefixCls: prefixCls,
hoverIndex: -1,
isHover: false,
isHalf: this.allowHalf && this.value % 1 == 0.5,
isHalf: this.allowHalf && this.value.toString().indexOf('.') >= 0,
currentValue: this.value
};
},