mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00: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