|
@@ -228,7 +228,7 @@ class SpreadDrop extends Component{
|
|
|
const tIndex= exists.findIndex((it)=>it.questionId===item.questionId);
|
|
|
const bIndex= withs.findIndex((it)=>it.questionId===item.questionId);
|
|
|
if(tIndex!=-1){
|
|
|
- exists.splice(tIndex,1,item);
|
|
|
+ exists.splice(tIndex,1,Object.assign({},item,{name})); //修改单选列连接字符不显示bug
|
|
|
this.setState({
|
|
|
exists,
|
|
|
})
|