Explorar o código

少加了个判断

luolei %!s(int64=5) %!d(string=hai) anos
pai
achega
28824d747c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/store/async-actions/patInfo.js

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

@@ -94,7 +94,7 @@ export const initHistoryDetails = (dispatch) => {
                   pushAllDataList(detail.sign,'push',detail,'history');
                 }else{
                   let pre = baseList.homePage.sysConfig.connect_prec;
-                  getPreMsg(dispatch)
+                  (pre==1)&&getPreMsg(dispatch)
                   // (pre==1)&&dispatch({type:SETPRE,show:true});
 
                 }