From 30bc7c3ee69967875bdc9bfc29fa6e92aaa1b4d4 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 24 Jan 2024 17:02:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=8B=8B=E7=AB=A0=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ChatList/MsgItem/components/UserCard/UserCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Home/Chat/components/ChatList/MsgItem/components/UserCard/UserCard.vue b/src/views/Home/Chat/components/ChatList/MsgItem/components/UserCard/UserCard.vue index 90fb359..273fdbd 100644 --- a/src/views/Home/Chat/components/ChatList/MsgItem/components/UserCard/UserCard.vue +++ b/src/views/Home/Chat/components/ChatList/MsgItem/components/UserCard/UserCard.vue @@ -27,7 +27,7 @@ const sendMsg = async () => { } onMounted(() => { - cacheStore.getBatchBadgeInfo(props.user.itemIds) + cacheStore.getBatchBadgeInfo(props.user.itemIds || []) })