Explorar o código

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

zhouna %!s(int64=6) %!d(string=hai) anos
pai
achega
4f7c951a11
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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){