From 1466a47c6961b372f377dc177b8d2756f0436d50 Mon Sep 17 00:00:00 2001 From: qsc <3153284618@qq.com> Date: Tue, 22 Apr 2025 13:56:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=87=E7=AB=A0extraFile?= =?UTF-8?q?=20entityId=E4=BC=A0=E5=85=A5oakId=E6=88=96=E6=98=AF=E8=87=AA?= =?UTF-8?q?=E8=BA=ABid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/article/upsert/web.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/article/upsert/web.tsx b/src/components/article/upsert/web.tsx index c5541175e..05cfc276c 100644 --- a/src/components/article/upsert/web.tsx +++ b/src/components/article/upsert/web.tsx @@ -91,6 +91,7 @@ export default function Render( clearContentTip, } = methods; const { + oakId, oakFullpath, id, content, @@ -207,7 +208,7 @@ export default function Render( ); const extraFile = { entity: "article", - entityId: articleId, + entityId: oakId || articleId, origin: origin, type: "image", tag1: "source", @@ -261,7 +262,7 @@ export default function Render( ); const extraFile = { entity: "article", - entityId: articleId, + entityId: oakId || articleId, origin: origin, type: "video", tag1: "source",