diff --git a/src/index.js b/src/index.js index 72440e8bb532a69655e443644d871c79b2942fef..71f460ec1eb0eea0cfcfc06deb6b220db3d21272 100644 --- a/src/index.js +++ b/src/index.js @@ -18,7 +18,7 @@ const app = dva({ app.model(require('./models/global')); // 4. Router -app.router(import('./router')); +app.router(require('./router')); // 5. Start app.start('#root');