fix: system message can not sync to others
This commit is contained in:
@@ -264,7 +264,6 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
||||
>
|
||||
<Checkbox className="p-l-6">
|
||||
<Tooltip
|
||||
trigger={['click']}
|
||||
title={intl.formatMessage({
|
||||
id: 'models.form.partialoffload.tips'
|
||||
})}
|
||||
|
||||
@@ -48,6 +48,9 @@ const SystemMessage: React.FC<SystemMessageProps> = (props) => {
|
||||
|
||||
const handleOnChange = (e: any) => {
|
||||
setSystemMessage(e.target.value);
|
||||
if (applyToAllModels) {
|
||||
applyToAll?.(e.target.value);
|
||||
}
|
||||
};
|
||||
|
||||
const handleClearSystemMessage = () => {
|
||||
|
||||
Reference in New Issue
Block a user