diff --git a/src/index.js b/src/index.js index fd0de02be3402c2ffa00f3ce1c81220c7b7f34db..c5eecd8bd817066e0b7af826454c8204ae54b91a 100644 --- a/src/index.js +++ b/src/index.js @@ -3,12 +3,12 @@ import 'moment/locale/zh-cn'; import './polyfill'; import './g2'; import './raven'; -// import { browserHistory } from 'dva/router'; +// import browserHistory from 'history/createBrowserHistory'; import './index.less'; // 1. Initialize const app = dva({ - // history: browserHistory, + // history: browserHistory(), }); // 2. Plugins