(nextState, cb)
| 12 | |
| 13 | /* 布局基页 */ |
| 14 | getComponent (nextState, cb) { |
| 15 | require.ensure([], (require) => { |
| 16 | // 立即注入 Reducer |
| 17 | injectReducer('msg', require('REDUCER/msg/').default) |
| 18 | |
| 19 | cb(null, require('VIEW/msg').default) |
| 20 | }, 'msgView') |
| 21 | }, |
| 22 | |
| 23 | indexRoute: { // 对应 /msg |
| 24 | getComponent (nextState, cb) { |
nothing calls this directly
no test coverage detected