From 805f7b44a086a77397307297583fe9236a387384 Mon Sep 17 00:00:00 2001
From: chanx <1243304602@qq.com>
Date: Fri, 5 Dec 2025 19:49:37 +0800
Subject: [PATCH] Fix: Modify the index_mode attribute of the Confluence data
source.
---
web/src/components/dynamic-form.tsx | 3 +-
web/src/components/ragflow-form.tsx | 18 ++--
.../component/confluence-token-field.tsx | 97 ++++++++++---------
.../user-setting/data-source/contant.tsx | 6 +-
.../data-source-detail-page/index.tsx | 4 +-
5 files changed, 72 insertions(+), 56 deletions(-)
diff --git a/web/src/components/dynamic-form.tsx b/web/src/components/dynamic-form.tsx
index 3f1e9f063..2fdc55af0 100644
--- a/web/src/components/dynamic-form.tsx
+++ b/web/src/components/dynamic-form.tsx
@@ -7,6 +7,7 @@ import {
useState,
} from 'react';
import {
+ ControllerRenderProps,
DefaultValues,
FieldValues,
SubmitHandler,
@@ -67,7 +68,7 @@ export interface FormFieldConfig {
max?: number;
message?: string;
};
- render?: (fieldProps: any) => React.ReactNode;
+ render?: (fieldProps: ControllerRenderProps) => React.ReactNode;
horizontal?: boolean;
onChange?: (value: any) => void;
tooltip?: React.ReactNode;
diff --git a/web/src/components/ragflow-form.tsx b/web/src/components/ragflow-form.tsx
index c59776824..5f21980b0 100644
--- a/web/src/components/ragflow-form.tsx
+++ b/web/src/components/ragflow-form.tsx
@@ -53,14 +53,16 @@ export function RAGFlowFormItem({
{label}
)}
-