memos
memos copied to clipboard
同名称图片会被覆盖
Describe the bug
使用了阿里云OSS存储,用系统截图上传了相同名称的不同图片发布于前后两条动态,前者图片会被覆盖。
Steps to reproduce
发布动态#1:使用系统“win+shift+s”截图,并直接粘贴至文本框,图片被上传且名称为“image.png”。 发布动态#2:再次截图后上传,图片名称仍为“image.png”,发布动态。 此时动态1中的图片被替换为了动态2图片,1、2图片一致,且oss文件列表中image.png被覆盖为动态2图片,1图片消失。
The version of Memos you're using
v0.18.0
Screenshots or additional context
No response
Issue is not in English. It has been translated automatically.
Title: The picture with the same name will be overwritten
Duplicated with https://github.com/usememos/memos/issues/2615