mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-13 03:00:14 +08:00
fix monaco editor default value (#4793)
* fix monaco editor default value * fix
This commit is contained in:
@@ -151,7 +151,9 @@ const ChatItemContextProvider = ({
|
||||
});
|
||||
}
|
||||
|
||||
variablesForm.setValue('variables', newVariableValue);
|
||||
Object.entries(newVariableValue).forEach(([key, value]) => {
|
||||
variablesForm.setValue(`variables.${key}`, value);
|
||||
});
|
||||
},
|
||||
[variablesForm]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user