【功能修复】修复新创建用户未上传头像时,头像不显示的bug。

【功能修复】修复布局配置中标签页图标key错误的bug
This commit is contained in:
zqx
2024-09-07 15:38:39 +08:00
parent b5c4da073a
commit 307743b7d0
5 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ const userStore = useUserStore()
const messageContainer: any = ref(null)
const isScrolling = ref(false) //用于判断用户是否在滚动
const userAvatar = computed(() => userStore.user.avatar ?? userAvatarDefaultImg)
const userAvatar = computed(() => userStore.user.avatar || userAvatarDefaultImg)
const roleAvatar = computed(() => props.conversation.roleAvatar ?? roleAvatarDefaultImg)
// 定义 props