diff --git a/web/src/components/playground/OptimizedComponents.js b/web/src/components/playground/OptimizedComponents.js index 37ff65b..62baa24 100644 --- a/web/src/components/playground/OptimizedComponents.js +++ b/web/src/components/playground/OptimizedComponents.js @@ -75,7 +75,6 @@ export const OptimizedSettingsPanel = React.memo( JSON.stringify(prevProps.previewPayload) === JSON.stringify(nextProps.previewPayload) && JSON.stringify(prevProps.messages) === JSON.stringify(nextProps.messages) && - JSON.stringify(prevProps.channels) === JSON.stringify(nextProps.channels) && prevProps.mutualExclusive === nextProps.mutualExclusive ); }, diff --git a/web/src/components/playground/SettingsPanel.jsx b/web/src/components/playground/SettingsPanel.jsx index 7b6260d..2c7b1aa 100644 --- a/web/src/components/playground/SettingsPanel.jsx +++ b/web/src/components/playground/SettingsPanel.jsx @@ -46,7 +46,6 @@ const SettingsPanel = ({ onCustomRequestBodyChange, previewPayload, messages, - channels = [], }) => { const { t } = useTranslation(); @@ -179,38 +178,6 @@ const SettingsPanel = ({ /> - {/* 通道选择 */} -
-
- - {t('通道')} - - {customRequestMode && ( - - ({t('已在自定义模式中忽略')}) - - )} -
-