[Improvement] Picker: add props to custom button text (#548)

This commit is contained in:
neverland
2018-01-18 14:22:17 +08:00
committed by GitHub
parent 5c39921742
commit d8dc44a780
21 changed files with 49 additions and 22 deletions

View File

@@ -68,6 +68,7 @@ export default create({
const currentValue = +this.currentValue;
return min === currentValue || (currentValue - step) < min || this.disabled;
},
isPlusDisabled() {
const max = +this.max;
const step = +this.step;