Explorar o código

现病史空模板处理

liucf %!s(int64=6) %!d(string=hai) anos
pai
achega
63303a6291
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/store/actions/currentIll.js

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

@@ -104,7 +104,8 @@ export const setData = (state,action) =>{
   }
   
   if (useEmpty) {
-    res.data = res.emptyData;
+    // res.data = res.emptyData;
+    res.data = JSON.parse(JSON.stringify(res.emptyData));
   } else {
     // 目前只需要将第一个主诉病程移植到现病史
     let tongYong = "";