Commit c03d59b5 authored by afc163's avatar afc163

use require to fix dist error

parent c4f69fc4
......@@ -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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment