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">
|
<Checkbox className="p-l-6">
|
||||||
<Tooltip
|
<Tooltip
|
||||||
trigger={['click']}
|
|
||||||
title={intl.formatMessage({
|
title={intl.formatMessage({
|
||||||
id: 'models.form.partialoffload.tips'
|
id: 'models.form.partialoffload.tips'
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -48,6 +48,9 @@ const SystemMessage: React.FC<SystemMessageProps> = (props) => {
|
|||||||
|
|
||||||
const handleOnChange = (e: any) => {
|
const handleOnChange = (e: any) => {
|
||||||
setSystemMessage(e.target.value);
|
setSystemMessage(e.target.value);
|
||||||
|
if (applyToAllModels) {
|
||||||
|
applyToAll?.(e.target.value);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleClearSystemMessage = () => {
|
const handleClearSystemMessage = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user