|
@@ -69,10 +69,10 @@ class SlideSelect extends Component {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
handleDel(part,idx){
|
|
handleDel(part,idx){
|
|
- const {handleDelClick,item} = this.props;
|
|
|
|
|
|
+ const {handleDelClick,item} = this.props;console.log(item)
|
|
this.setState({
|
|
this.setState({
|
|
activeInd:true,
|
|
activeInd:true,
|
|
- activeName:item.detailName,
|
|
|
|
|
|
+ activeName:item.detailName||item.name,
|
|
})
|
|
})
|
|
handleDelClick&&handleDelClick(1,part,idx);
|
|
handleDelClick&&handleDelClick(1,part,idx);
|
|
}
|
|
}
|