fix: system message can not sync to others

main
jialin 1 year ago
parent 1fed02d23f
commit 5df6154abe

@ -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 = () => {

Loading…
Cancel
Save