diff --git a/web/client/src/sections/auth/containers/login.js b/web/client/src/sections/auth/containers/login.js index dd46d798..adb52159 100644 --- a/web/client/src/sections/auth/containers/login.js +++ b/web/client/src/sections/auth/containers/login.js @@ -31,7 +31,7 @@ const Login = props => { if (user && user.authorized) { hasAuth = allroutes?.filter((item) => { return user?.userResources.find((child) => { return child.resourceId === item.authCode }) }) if (user?.username === 'SuperAdmin') { - dispatch(push('/fillion/infor')) + dispatch(push('/fillion/luzheng')) } else if (hasAuth && hasAuth.length > 0) { const path = hasAuth[0].path diff --git a/web/client/src/sections/quanju/containers/heand/index.js b/web/client/src/sections/quanju/containers/heand/index.js index 2897b285..7748120e 100644 --- a/web/client/src/sections/quanju/containers/heand/index.js +++ b/web/client/src/sections/quanju/containers/heand/index.js @@ -17,7 +17,7 @@ const Header = (props) => { const allroutes = JSON.parse(sessionStorage.getItem('allRoutes')) || [] const hasAuth = allroutes?.filter((item) => { return user?.userResources.find((child) => { return child.resourceId === item.authCode }) }) if (user?.username === 'SuperAdmin') { - dispatch(push('/fillion/infor')) + dispatch(push('/fillion/luzheng')) } else if (hasAuth && hasAuth.length > 0) { const path = hasAuth[0].path