Explorar o código

输入组件placeholder bug修改2532

zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
5f6b937d50
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/common/components/InlineTag/index.jsx

+ 1 - 0
src/common/components/InlineTag/index.jsx

@@ -57,6 +57,7 @@ class InlineTag extends Component {
         value:''
       });
       e.target.innerHTML = placeholder;
+      return;
     }
     if(boxMark==='1'&&this.state.over){     //超过字数限制,显示输入前的值
       e.target.innerHTML = value||'';