瀏覽代碼

默认值

luolei 5 年之前
父節點
當前提交
e493b75ea6
共有 2 個文件被更改,包括 2 次插入2 次删除
  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) {