luolei 5 vuotta sitten
vanhempi
commit
e493b75ea6
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      src/store/async-actions/patInfo.js
  2. 1 1
      src/store/reducers/homePage.js

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

@@ -35,7 +35,7 @@ export const getPreMsg = (dispatch, getState) => {
               checkBody:result.supplement?new Array(result.supplement):[]
             }
             pushAllDataList(1,'push',preIcss,'preIcss');
-            dispatch({type:SETPRE,show:false});
+            store.dispatch({type:SETPRE,show:false});
         } else {
             console.log(res)
         }

+ 1 - 1
src/store/reducers/homePage.js

@@ -17,7 +17,7 @@ const initState = {
   assistList:[],
   inspectList:[],
   sysConfig:{},
-  showPre:true
+  showPre:false
 };
 
 export default function (state=initState,action) {