Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16132

Vanessa1abeb6e41a70
diff --git a/app/src/util/image.ts b/app/src/util/image.ts
index d500e9ace7..a321c70a5a 100644
--- a/app/src/util/image.ts
+++ b/app/src/util/image.ts
@@ -30,7 +30,7 @@ export const base64ToURL = async (base64SrcList: string[]) => {
for (let i = 0; i < binary.length; i++) {
u8arr[i] = binary.charCodeAt(i);
}
- formData.append("file[]", new File([u8arr], `base64image.${{
+ formData.append("file[]", new File([u8arr], `base64image-${Lute.NewNodeID()}.${{
"image/png": "png",
"image/jpeg": "jpg",
"image/webp": "webp",