Fix: Metadata bugs. (#12111)

### What problem does this PR solve?

Fix: Metadata bugs.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
chanx
2025-12-23 14:16:57 +08:00
committed by GitHub
parent d1bc7ad2ee
commit 8e6ddd7c1b
20 changed files with 184 additions and 63 deletions

View File

@ -122,9 +122,9 @@ export const useFetchDocumentList = () => {
page: pagination.current,
},
{
suffix: filterValue.type,
run_status: filterValue.run,
metadata: filterValue.metadata,
suffix: filterValue.type as string[],
run_status: filterValue.run as string[],
metadata: filterValue.metadata as Record<string, string[]>,
},
);
if (ret.data.code === 0) {