Ver Fonte

导入store

kwonghinho há 7 anos atrás
pai
commit
f810481a55
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/routes/index.js

+ 2 - 2
src/routes/index.js

@@ -18,10 +18,10 @@ import SendChatLog from './SendChatLog'
 export const createRoutes = (store) => ({
   path: '/',
   component: Layout,
-  indexRoute: Login,
+  indexRoute: Login(store),
   childRoutes: [
     counterRoute(store),
-      Home,
+      Home(store),
       UserMessage,
       ExpertView,
       FindPatientView,