diff --git a/src/models/app.js b/src/models/app.js index 8dee83d..507d86d 100644 --- a/src/models/app.js +++ b/src/models/app.js @@ -103,14 +103,14 @@ export default { config.openPages && config.openPages.indexOf(locationPathname) < 0 ) { - // yield put( - // routerRedux.push({ - // pathname: '/login', - // search: stringify({ - // from: locationPathname, - // }), - // }) - // ) + yield put( + routerRedux.push({ + pathname: '/login', + search: stringify({ + from: locationPathname, + }), + }) + ) } },