Remove success notifications for background removal and download
This commit is contained in:
parent
09d312d076
commit
51cf09b125
@ -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'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user