diff --git a/web/src/components/ModelPricing.js b/web/src/components/ModelPricing.js index 299d39cb..8d9bfd81 100644 --- a/web/src/components/ModelPricing.js +++ b/web/src/components/ModelPricing.js @@ -81,7 +81,7 @@ const ModelPricing = () => { } function renderAvailable(available) { - return ( + return available ? ( {t('您的分组可以使用该模型')} @@ -98,7 +98,7 @@ const ModelPricing = () => { > - ) + ) : null; } const columns = [