mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 08:56:47 +08:00
Feat: Fixed the issue where the page would refresh continuously when opening the sheet on the right side of the canvas #3221 (#7756)
### What problem does this PR solve? Feat: Fixed the issue where the page would refresh continuously when opening the sheet on the right side of the canvas #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -85,6 +85,7 @@ const FormSheet = ({
|
||||
const formData = node?.data?.form;
|
||||
if (isPlainObject(formData)) {
|
||||
// form.setFieldsValue({ ...formData, items });
|
||||
console.info('xxx');
|
||||
form.reset({ ...formData, items });
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -137,9 +137,11 @@ export function useFormConfigMap() {
|
||||
message_history_window_size: 6,
|
||||
},
|
||||
schema: z.object({
|
||||
llm_id: z.string(),
|
||||
message_history_window_size: z.number(),
|
||||
language: z.string(),
|
||||
script: z.string(),
|
||||
arguments: z
|
||||
.array(z.object({ name: z.string(), component_id: z.string() }))
|
||||
.optional(),
|
||||
lang: z.string(),
|
||||
}),
|
||||
},
|
||||
[Operator.Baidu]: {
|
||||
|
||||
Reference in New Issue
Block a user