Browse Source

chore: 暂时隐藏模型详情页的调用示例组件

注释掉 ModelCodeSnippet 组件的导入和渲染。

Co-Authored-By: Claude <noreply@anthropic.com>
feat/alipay-payment
fengsilin 1 month ago
parent
commit
bfa55d1b69
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      web/src/components/table/model-pricing/modal/ModelDetailSideSheet.jsx

+ 3
- 1
web/src/components/table/model-pricing/modal/ModelDetailSideSheet.jsx View File

@@ -27,7 +27,7 @@ import ModelBasicInfo from './components/ModelBasicInfo';
import ModelEndpoints from './components/ModelEndpoints'; import ModelEndpoints from './components/ModelEndpoints';
import ModelPricingTable from './components/ModelPricingTable'; import ModelPricingTable from './components/ModelPricingTable';
import ChannelPricingCard from './components/ChannelPricingCard'; import ChannelPricingCard from './components/ChannelPricingCard';
import ModelCodeSnippet from './components/ModelCodeSnippet';
// import ModelCodeSnippet from './components/ModelCodeSnippet';


const { Text } = Typography; const { Text } = Typography;


@@ -108,7 +108,9 @@ const ModelDetailSideSheet = ({
displayPrice={displayPrice} displayPrice={displayPrice}
t={t} t={t}
/> />
{/* 暂时隐藏调用示例
<ModelCodeSnippet modelData={modelData} t={t} /> <ModelCodeSnippet modelData={modelData} t={t} />
*/}
</> </>
)} )}
</div> </div>


Loading…
Cancel
Save