chore: 默认头像

This commit is contained in:
dap 2024-09-07 20:12:14 +08:00
parent 4d0d220467
commit 30f22b94de

View File

@ -21,7 +21,11 @@ defineEmits<{
uploadFinish: [];
}>();
const avatar = computed(() => props.profile?.user.avatar ?? '');
const avatar = computed(
() =>
props.profile?.user.avatar ??
'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png',
);
</script>
<template>