Skip to content

Commit

Permalink
Merge branch 'cloud/202405' of https://code.alipay.com/oceanbase/ocea…
Browse files Browse the repository at this point in the history
…nbase-developer-center into cloud/202405
  • Loading branch information
HSunboy committed Aug 20, 2024
2 parents ce0b909 + 9caf404 commit 01d2626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/Task/AlterDdlTask/DetailContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function getItems(

const handleDataSizeLimit = async (dataSizeLimit, handleClose) => {
const res = await updateThrottleConfig(id, {
dataSizeLimit: bToMb(dataSizeLimit),
dataSizeLimit: mbToB(dataSizeLimit),
rowLimit: parameters?.rateLimitConfig?.rowLimit,
});
if (res) {
Expand Down Expand Up @@ -326,7 +326,7 @@ export function getItems(
suffix="MB/s"
min={0}
max={OscMaxDataSizeLimit}
defaultValue={mbToB(parameters?.rateLimitConfig?.dataSizeLimit)}
defaultValue={bToMb(parameters?.rateLimitConfig?.dataSizeLimit)}
onOk={handleDataSizeLimit}
readlOnly={cantBeModified}
/>,
Expand Down

0 comments on commit 01d2626

Please sign in to comment.