fix: refresh model list manually

This commit is contained in:
jialin
2025-05-28 17:25:23 +08:00
parent f53fe042a9
commit aa6b5ec24f
5 changed files with 166 additions and 7 deletions
@@ -27,6 +27,8 @@ const RequestTokenInner: React.FC<RequestTokenInnerProps> = (props) => {
const { requestData, tokenData, xAxisData } = props;
const intl = useIntl();
console.log('usage===========', requestData, tokenData, xAxisData);
return (
<CardWrapper style={{ width: '100%' }}>
<Row style={{ width: '100%' }}>
@@ -49,6 +51,17 @@ const RequestTokenInner: React.FC<RequestTokenInnerProps> = (props) => {
></BarChart>
</Col>
</Row>
{/* <MixLineBar
title={intl.formatMessage({ id: 'dashboard.apirequest' })}
chartData={{
line: requestData,
bar: tokenData
}}
seriesData={[]}
xAxisData={xAxisData}
height={360}
labelFormatter={labelFormatter}
></MixLineBar> */}
</CardWrapper>
);
};