add manual create http toolset (#5743)

* add manual create http toolset

* optimize code

* optimize

* fix

* fix
This commit is contained in:
heheer
2025-10-10 19:53:39 +08:00
committed by archer
parent 12096f6c58
commit 8fffd7b6ce
21 changed files with 1215 additions and 189 deletions

View File

@@ -25,6 +25,7 @@ const LeftRadio = <T = any,>({
align = 'center',
px = 3.5,
py = 4,
gridGap = [3, 5],
defaultBg = 'myGray.50',
activeBg = 'primary.50',
onChange,
@@ -75,7 +76,7 @@ const LeftRadio = <T = any,>({
);
return (
<Grid gridGap={[3, 5]} fontSize={['sm', 'md']} {...props}>
<Grid gridGap={gridGap} fontSize={['sm', 'md']} {...props}>
{list.map((item) => {
const isActive = value === item.value;
return (
@@ -131,7 +132,7 @@ const LeftRadio = <T = any,>({
lineHeight={1}
color={'myGray.900'}
>
<Box>{t(item.title as any)}</Box>
<Box mb={1}>{t(item.title as any)}</Box>
{!!item.tooltip && <QuestionTip label={item.tooltip} color={'myGray.600'} />}
</HStack>
) : (