feat(theme): add support for base64 for profile avatars (#808)

This commit is contained in:
Dahaha 2026-01-09 15:22:32 +08:00 committed by GitHub
parent 2cadb7d88c
commit cc3582c1f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,8 @@ const imageUrl = computed(() => {
return ''
if (isLinkHttp(url))
return url
if (url.startsWith('data:image/'))
return url
return withBase(url)
})