Remove success notifications for background removal and download

This commit is contained in:
jingrow 2025-11-21 09:26:25 +08:00
parent 09d312d076
commit 51cf09b125

View File

@ -442,8 +442,6 @@ const handleRemoveBackground = async () => {
} else if (currentHistoryIndex.value >= 0) {
historyList.value[currentHistoryIndex.value].resultImage = firstResult.image_url
}
message.success(t('Background removed successfully!'))
} else {
message.error(firstResult.error || t('Failed to remove background'))
}
@ -510,8 +508,6 @@ const handleDownload = async () => {
document.body.removeChild(link)
URL.revokeObjectURL(blobUrl)
})
message.success(t('Download started'))
} catch (error: any) {
console.error('下载图片失败:', error)
message.error(t('Failed to download image'))