This commit is contained in:
pa
2025-12-21 01:05:04 +09:00
committed by Natsumi
parent 26ed9fcce8
commit 99d4a8d1d5
5 changed files with 55 additions and 12 deletions

View File

@@ -196,7 +196,7 @@ export function request(endpoint, options) {
if (
init.method === 'GET' &&
status === 404 &&
endpoint.startsWith('avatars/')
endpoint?.startsWith('avatars/')
) {
ElMessage({
message: t('message.api_handler.avatar_private_or_deleted'),