Browse Source

误删回退--getHospitalInfo接口参数名修改,模式默认值bug修改

zhouna 6 years atrás
parent
commit
e219705ccb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/async-actions/patInfo.js

+ 1 - 1
src/store/async-actions/patInfo.js

@@ -118,7 +118,7 @@ export async function getPatientMessage(dispatch, getState){
   //设置初始模式
   dispatch({
     type: CONFIRM_TYPE,
-    confirmType:data1.modeValue
+    confirmType:data1.modeValue||config.defaultValue.mode
   });
   dispatch(getInitModules);     //确保病人信息获取以后再获取模板等数据,否则参数为空
   dispatch(getCommonList(5));     //获取常用化验标签列表