mirror of
https://github.com/zuiidea/antd-admin.git
synced 2024-04-21 12:32:14 +00:00
fix first page jump to login fail
This commit is contained in:
+8
-8
@@ -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,
|
||||
}),
|
||||
})
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user