This commit is contained in:
梁灏 2017-09-04 16:16:29 +08:00
parent e493492e50
commit 77e4c204a6
3 changed files with 8 additions and 8 deletions

View file

@ -114,7 +114,7 @@
this.hoverIndex = -1;
},
setHalf (val) {
this.isHalf = val.toString().indexOf('.') >= 0;
this.isHalf = this.allowHalf && val.toString().indexOf('.') >= 0;
},
handleClick (value) {
if (this.disabled) return;