更新文档和文件上传功能,新增前端JWT传递逻辑,优化用户信息处理。
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user