|
@@ -94,13 +94,10 @@ class RadioDrop extends Component{
|
|
|
}
|
|
|
handleEditLabel(e){
|
|
|
e.stopPropagation();
|
|
|
+ if(!this.state.editable){ //ie8点开下拉未选值存值bug修改
|
|
|
+ return;
|
|
|
+ }
|
|
|
const {ikey,boxMark,handleLabelEdit} = this.props;
|
|
|
- /*const {editable} = this.state;
|
|
|
- if(editable){
|
|
|
- // 更改标签的value值
|
|
|
- let changeVal = e.target.innerText;
|
|
|
- handleLabelEdit && handleLabelEdit({ikey,changeVal,type:boxMark});
|
|
|
- }*/
|
|
|
this.setState({
|
|
|
editable:false
|
|
|
});
|