This commit is contained in:
AllenFang 2019-02-24 16:20:44 +08:00
parent 09f21e8130
commit 3ffccce1fe

View File

@ -18,6 +18,11 @@ class QualityRanger extends React.Component {
static defaultProps = {
value: 0
}
componentDidMount() {
this.range.focus();
}
getValue() {
return parseInt(this.range.value, 10);
}