Browse Source

血压添加时后面逗号不显示bug

zhouna 5 years atrás
parent
commit
9c15fde308
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/containers/MultSpread.js

+ 6 - 3
src/containers/MultSpread.js

@@ -27,10 +27,13 @@ const getCopyData = (copyId,inx,boxMark)=>{
       data:JSON.stringify(copy),
       i:inx
     });
-    //自由文本组件更新
-    dispatch({
-      type:ISREAD
+    setTimeout(function () {      //血压添加时后面逗号不显示bug
+      dispatch({
+        type:ISREAD
+      })
     })
+    //自由文本组件更新
+
   }
 };