fix: system message can not sync to others

This commit is contained in:
jialin
2024-09-30 19:51:01 +08:00
parent 1fed02d23f
commit 5df6154abe
2 changed files with 3 additions and 1 deletions
@@ -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 = () => {