|
@@ -110,7 +110,7 @@ class SlideSelect extends Component {
|
|
|
const tempTimer = this.state.timer
|
|
|
const {setTipValue} = this.props
|
|
|
setTipValue(item,e.target.value,sign,tip)
|
|
|
- if(sign == 2){
|
|
|
+ if(tip == 2){
|
|
|
let type = getArrow(item.minValue,item.maxValue,e.target.value||null)
|
|
|
this.setState({
|
|
|
style:type
|
|
@@ -203,7 +203,7 @@ class SlideSelect extends Component {
|
|
|
placeholder='(填写)'
|
|
|
autoComplete="off"
|
|
|
value={item.value||item.otherValue}
|
|
|
- onInput={(e)=>{this.handleInput(e,item,idx)}}
|
|
|
+ onInput={(e)=>{this.handleInput(e,item,idx,2)}}
|
|
|
// onBlur={()=>{this.handleBlur()}}
|
|
|
onFocus={()=>{this.handleFocus()}}
|
|
|
/><img style={{display:style==1||style==2?'inline-block':'none'}} src={style==1?down:style==2?up:''} />{item.units}
|