routes: added range rising

This commit is contained in:
muerwre 2018-12-13 14:05:30 +07:00
parent febe619e8c
commit ddb77e1245
5 changed files with 80 additions and 25 deletions

View file

@ -88,9 +88,10 @@ class Component extends React.Component<Props> {
marks={marks}
step={20}
onChange={this.props.searchSetDistance}
defaultValue={distance}
defaultValue={[0, 10000]}
value={distance}
pushable={20}
disabled={list.length === 0 || min >= max}
disabled={min >= max}
/>
</div>