Fix: Dataset parse error (#12310)

### What problem does this PR solve?

Fix: Dataset parse error

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-12-30 13:08:20 +08:00
committed by GitHub
parent 59884ab0fb
commit 4037788e0c
7 changed files with 138 additions and 138 deletions

View File

@ -278,7 +278,7 @@ export const useRunDocument = () => {
const ret = await kbService.document_run({
doc_ids: documentIds,
run,
...option,
...(option || {}),
});
const code = get(ret, 'data.code');
if (code === 0) {