Browse Source

查体预问诊引用bug修改

zhouna 5 years ago
parent
commit
ed8c77f827
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/store/actions/checkBody.js

+ 2 - 2
src/store/actions/checkBody.js

@@ -11,8 +11,8 @@ export function preSetCheckbody(state,action) {
 export function set(state,action){
   let res = Object.assign({},state);
   const {data,isText,isEmpty} = action;
-  if(isText){         //查体只显示文本时(引用预问诊)
-    const label = Object.assign(JSON.parse(config._textLabel),{value:data[0],noSearch:true});
+  if(isText){        //查体只显示文本时(引用预问诊)
+    const label = Object.assign(JSON.parse(config.textLabel),{value:data,noSearch:true});
     res.data = [label];
     res.saveText = [data];
     res.showAll = true;