Explorar o código

其他史无主诉第一次提示后不再提示bug修改

zhouna %!s(int64=6) %!d(string=hai) anos
pai
achega
b34feffbe3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/OtherHistory/index.jsx

+ 1 - 1
src/components/OtherHistory/index.jsx

@@ -51,6 +51,7 @@ class OtherHistory extends Component{
       return;
     }
     if(+type===0&&!hasMain){
+      document.activeElement.blur();        //修改第一次提示后不再提示bug
       Notify.error("无法操作,请先输入主诉");
       return;
     }
@@ -78,7 +79,6 @@ class OtherHistory extends Component{
       boxLeft:boxLeft,
       boxTop:boxTop
     });
-
   }
   /*componentWillReceiveProps(next){
     const isRead = this.props;