Forráskód Böngészése

现病史查体其他史输入内容过多问题,默认回读辅检提示语

Luolei 6 éve
szülő
commit
67c2971080

+ 1 - 0
src/common/components/ItemBox/index.less

@@ -2,6 +2,7 @@
 
 .box{
   margin: 2px 20px;
+  word-break: break-all;
   .title{
     width: 65px;
     float: left;

+ 1 - 1
src/components/AddAssistCheck/Textarea/index.jsx

@@ -52,7 +52,7 @@ class Textarea extends Component {
   }
   componentDidMount(){
     const {value} = this.props;
-    if(value){
+    if(value && value.trim()){
       this.$dom.current.innerText = value||'';
       this.$dom.current.nextSibling.innerText = '';
     }else{