fix: 样式修复

This commit is contained in:
tbphp
2025-05-05 23:56:15 +08:00
parent 87188cd7d4
commit 3d243c3ee2
2 changed files with 13 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ const RateLimitSetting = () => {
try {
setLoading(true);
await getOptions();
// showSuccess('刷新成功');
// showSuccess('刷新成功');
} catch (error) {
showError('刷新失败');
} finally {
@@ -59,13 +59,13 @@ const RateLimitSetting = () => {
return (
<>
<Spin spinning={loading} size='large'>
{/* AI请求速率限制 */}
{/* AI请求速率限制 */}
<Card style={{ marginTop: '10px' }}>
<RequestRateLimit options={inputs} refresh={onRefresh} />
</Card>
</Spin>
</>
);
};
};
export default RateLimitSetting;
export default RateLimitSetting;

View File

@@ -75,7 +75,7 @@ export default function RequestRateLimit(props) {
}
setInputs(currentInputs);
setInputsRow(structuredClone(currentInputs));
refForm.current.setValues(currentInputs);
refForm.current.setValues(currentInputs);
}, [props.options]);
return (
@@ -201,4 +201,4 @@ export default function RequestRateLimit(props) {
</Spin>
</>
);
}
}