fix first page jump to login fail

This commit is contained in:
Baorong Li
2018-09-14 11:32:28 +08:00
parent 755e19ed12
commit ee10965f43
+8 -8
View File
@@ -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,
}),
})
)
}
},