@@ -4,9 +4,8 @@ import { routerRedux } from 'dva/router';
// TODO set store
// import store from '../global';
-const store = {
- dispatch: () => {},
-};
+// use global store
+const store = window.g_app._store
const codeMessage = {
200: '服务器成功返回请求的数据。',