|
@@ -224,7 +224,7 @@ class SpreadDrop extends Component{
|
|
|
return;
|
|
|
}
|
|
|
//操作单选项
|
|
|
- if(!noneOn&&selected){
|
|
|
+ if(selected){
|
|
|
const tIndex= exists.findIndex((it)=>it.questionId===item.questionId);
|
|
|
const bIndex= withs.findIndex((it)=>it.questionId===item.questionId);
|
|
|
if(tIndex!=-1){
|
|
@@ -437,7 +437,7 @@ class ListItem extends Component{
|
|
|
handleClick&&handleClick(item,isExclu,joint,index);
|
|
|
}
|
|
|
getClass(id){ //无之后显示黑色,之前显示蓝色
|
|
|
- const {exclusion,nones,noneIds,exists,withs,isExclu,ban} = this.props;
|
|
|
+ const {exclusion,nones,noneIds,exists,withs,isExclu,ban} = this.props;console.log(this.props)
|
|
|
if(exclusion!=''){
|
|
|
if(+id===+exclusion){
|
|
|
return style['selected'];
|