forked from Gitlink/forgeplus-react
图片地址
This commit is contained in:
parent
42a37a3189
commit
716285f045
|
|
@ -561,7 +561,7 @@ async function JoinTeams(name: any) {
|
|||
<Spin spinning={loading.effects['competitions/getHeader']} >
|
||||
<div style={{ height: '355px', width: "800px" }}>
|
||||
{
|
||||
HeaderDetail?.avatar_url && HeaderDetail?.avatar_url !== null && <img style={{ height: '355px', width: '800px' }} src={ENV.IMG_SERVER + '/' + HeaderDetail?.avatar_url} />
|
||||
HeaderDetail?.avatar_url && HeaderDetail?.avatar_url !== null && <img style={{ height: '355px', width: '800px' }} src={ HeaderDetail?.avatar_url } />
|
||||
}
|
||||
{
|
||||
!HeaderDetail?.avatar_url && HeaderDetail?.avatar_url == null && <img style={{ height: '355px', width: '800px' }} src={ENV.IMG_SERVER + `/images/educoder/competitions/mainbanner.jpg`} />
|
||||
|
|
|
|||
|
|
@ -456,7 +456,7 @@ const competitionsIndexPage: FC<PageProps> = ({
|
|||
className={styles.divimg}
|
||||
src={
|
||||
item && item.image
|
||||
? `${ENV.IMG_SERVER}/` + item.image
|
||||
? item.image
|
||||
: mainbannerBg
|
||||
}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue