From 55f7ad98bcecd5ef8f5911d86049e4e383251334 Mon Sep 17 00:00:00 2001 From: Mack <103027852+mackt@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:28:04 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E4=BC=98=E5=8C=96=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E9=A1=B5=E9=94=99=E8=AF=AF=E5=9C=BA=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/invite/page.tsx | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/app/invite/page.tsx b/src/app/invite/page.tsx index ded6e3f..6a880e6 100644 --- a/src/app/invite/page.tsx +++ b/src/app/invite/page.tsx @@ -44,29 +44,33 @@ export default function Invite() { width="56" height="56" className="mt-34px object-cover rounded-full" - src={userInfo?.avatar ?? ''} + src={userInfo?.avatar ?? '/img/share.png'} alt="" unoptimized />
{`${userInfo?.nickName ?? ''},邀请你加入雀乐`}
+ {!!userInfo?.nickName &&{`${userInfo.nickName},邀请你加入雀乐`}
}一起 记录独立音乐
填写邀请码,双方均可获得积分
填写邀请码,双方均可获得积分
-