编辑文章extraFile entityId传入oakId或是自身id

This commit is contained in:
qsc 2025-04-22 13:56:15 +08:00
parent e8b952388e
commit 1466a47c69
1 changed files with 3 additions and 2 deletions

View File

@ -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",