feat: add number selection

This commit is contained in:
jialin
2026-05-25 22:42:02 +08:00
committed by jialin
parent 7bee337554
commit 858e0dae09
5 changed files with 293 additions and 39 deletions
@@ -106,16 +106,17 @@ const StorageVolume = ({
}
]}
/>
{action === PageAction.CREATE && (
<Button
type="link"
size="small"
style={{ marginBottom: 6 }}
onClick={() => setOverlayOpen(true)}
>
{intl.formatMessage({ id: 'gpuservice.storage.add' })}
</Button>
)}
{action === PageAction.CREATE &&
storageMode === StorageModeValueMap.Existing && (
<Button
type="link"
size="small"
style={{ marginBottom: 6 }}
onClick={() => setOverlayOpen(true)}
>
{intl.formatMessage({ id: 'gpuservice.storage.add' })}
</Button>
)}
</Flex>
{storageMode === StorageModeValueMap.Existing && (