mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-14 23:52:02 +08:00
fix: replace ?? to || for fix avatar
This commit is contained in:
@@ -24,7 +24,7 @@ defineEmits<{
|
||||
}>();
|
||||
|
||||
const avatar = computed(
|
||||
() => props.profile?.user.avatar ?? preferences.app.defaultAvatar,
|
||||
() => props.profile?.user.avatar || preferences.app.defaultAvatar,
|
||||
);
|
||||
|
||||
const { isDark } = usePreferences();
|
||||
|
||||
Reference in New Issue
Block a user