@ -32,6 +32,7 @@ const Login = props => {
hasAuth = allroutes?.filter((item) => { return user?.userResources.find((child) => { return child.resourceId === item.authCode }) })
if (user?.username === 'SuperAdmin') {
dispatch(push('/fillion/luzheng'))
}
else if (hasAuth && hasAuth.length > 0) {
const path = hasAuth[0].path
@ -19,6 +19,7 @@ const Header = (props) => {
console.log('sasa', `${path}`)