From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/datasets/create/index.tsx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/components/datasets/create/index.tsx b/app/components/datasets/create/index.tsx
index b1e4087..9556b9f 100644
--- a/app/components/datasets/create/index.tsx
+++ b/app/components/datasets/create/index.tsx
@@ -6,7 +6,7 @@
import StepOne from './step-one'
import StepTwo from './step-two'
import StepThree from './step-three'
-import { TopBar } from './top-bar'
+import { Topbar } from './top-bar'
import { DataSourceType } from '@/models/datasets'
import type { CrawlOptions, CrawlResultItem, DataSet, FileItem, createDocumentResponse } from '@/models/datasets'
import { fetchDataSource } from '@/service/common'
@@ -111,7 +111,7 @@
const detail = await fetchDatasetDetail(datasetId)
setDetail(detail)
}
- catch {
+ catch (e) {
setHasError(true)
}
}
@@ -123,7 +123,7 @@
return (
<div className='flex flex-col bg-components-panel-bg' style={{ height: 'calc(100vh - 56px)' }}>
- <TopBar activeIndex={step - 1} datasetId={datasetId} />
+ <Topbar activeIndex={step - 1} />
<div style={{ height: 'calc(100% - 52px)' }}>
{step === 1 && <StepOne
hasConnection={hasConnection}
--
Gitblit v1.8.0