Browse Source

有无治疗bug修改

zhouna 6 năm trước cách đây
mục cha
commit
99672862e2
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/components/RadioInpDrop/index.jsx
  2. 1 1
      src/store/actions/currentIll.js

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

@@ -164,7 +164,7 @@ class RadioInpDrop extends Component{
       if(typeof temp=='object'){
         list.push(<InputComp handleInp={this.handleInnerInp} editable={true} index={i} value={temp.value}></InputComp>);
       }else{
-        list.push(<span>{temp}</span>);
+        list.push(<span>&nbsp;{temp}</span>);
       }
     }
     /*if(value&&value.indexOf(config.radioOptionPer)!=-1){

+ 1 - 1
src/store/actions/currentIll.js

@@ -563,7 +563,7 @@ export const setRadioInputValue = (state,action)=>{
     });
     res.saveText[index] = sub.join('');
   }else {
-    res.saveText[ikey] = str;
+    res.saveText[index] = str;
   }
   res.update = Math.random();
   return res;