diff --git a/web/client/src/layout/components/header/index.jsx b/web/client/src/layout/components/header/index.jsx index ac19ac5..5859ed6 100644 --- a/web/client/src/layout/components/header/index.jsx +++ b/web/client/src/layout/components/header/index.jsx @@ -109,12 +109,11 @@ const Header = (props) => { style={{ display: "inline-block", width: 200, height: 40, marginLeft: -24, cursor: 'pointer' }} onClick={() => { let projectGroup = JSON.parse(localStorage.getItem('project_group')) - let url = `/projectGroup/bigscreen?pomsU=${user?.id}` let curPG = projectGroup && projectGroup?.find(v => v.userId == user?.id) if (curPG) { - window.open(`/projectGroup/bigscreen?pomsPG=${curPG.projectGroupId}&pomsU=${user?.id}`, '_blank') + window.open(`/projectGroup/bigscreen?pomsPG=${curPG.projectGroupId}&pomsU=${user?.pomsUserInfo?.id}`, '_blank') } else { - window.open(`/projectGroup/statistic?pomsU=${user?.id}`, '_blank') + window.open(`/projectGroup/statistic?pomsU=${user?.pomsUserInfo?.id}`, '_blank') } }} />