更新文档和文件上传功能,新增前端JWT传递逻辑,优化用户信息处理。

This commit is contained in:
2025-09-12 12:12:45 +08:00
parent bbad3cf00d
commit 52af1008fe
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -921,7 +921,7 @@ export default function FilesUpload() {
attachmentMergeMode,
true, // isReprocess
attachmentRemark || undefined,
loaderData.userInfo?.token as string | undefined
loaderData.frontendJWT as string | undefined
);
if (result.error) {
@@ -991,7 +991,7 @@ export default function FilesUpload() {
templateFile,
selectedDocumentId,
undefined, // comparisonId
loaderData.userInfo?.token as string | undefined
loaderData.frontendJWT as string | undefined
);
if (result.error) {