Browse Source

单选组件双击编辑删完后失焦显示重复值bug修改

zhouna 6 years ago
parent
commit
4f7c951a11
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/RadioDrop/index.jsx

+ 1 - 0
src/components/RadioDrop/index.jsx

@@ -104,6 +104,7 @@ class RadioDrop extends Component{
    // 更改标签的value值
     const ev = e || window.event;
     let changeVal = ev.target.innerText;
+    ev.target.innerText = '';
     handleLabelEdit && handleLabelEdit({ikey,changeVal,type:boxMark});
   }
   handledbClick(e){