Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-02-22 11:14:52 +08:00
parent 136a7f0d41
commit e17236b440
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -225,7 +225,7 @@ func Upload(c *gin.Context) {
}
if "" != existAssetPath && !strings.HasPrefix(hash, "random_") {
succMap[baseName] = existAssetPath
succMap[baseName] = strings.TrimPrefix(existAssetPath, "/")
} else {
if skipIfDuplicated {
// 复制 PDF 矩形注解时不再重复插入图片 No longer upload image repeatedly when copying PDF rectangle annotation https://github.com/siyuan-note/siyuan/issues/10666