Skip to content

Commit

Permalink
fix extra point number input register (labring#3145)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored Nov 13, 2024
1 parent e9d52ad commit 519b519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion projects/app/src/pages/account/components/Info/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { TeamMemberRoleEnum } from '@fastgpt/global/support/user/team/constant';
import QuestionTip from '@fastgpt/web/components/common/MyTooltip/QuestionTip';
import { useSystem } from '@fastgpt/web/hooks/useSystem';
import MyImage from '@fastgpt/web/components/common/Image/MyImage';
import { getWebReqUrl } from '@fastgpt/web/common/system/utils';

const StandDetailModal = dynamic(() => import('./standardDetailModal'));
const TeamMenu = dynamic(() => import('@/components/support/user/team/TeamMenu'));
Expand Down Expand Up @@ -494,7 +495,7 @@ const PlanUsage = () => {
</Box>
</Flex>
<Link
href={EXTRA_PLAN_CARD_ROUTE}
href={getWebReqUrl(EXTRA_PLAN_CARD_ROUTE)}
transform={'translateX(15px)'}
display={'flex'}
alignItems={'center'}
Expand Down
2 changes: 1 addition & 1 deletion projects/app/src/pages/price/components/ExtraPlan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const ExtraPlan = () => {
>
<MyNumberInput
name="points"
register={registerDatasetSize}
register={registerExtraPoints}
min={0}
max={10000}
size={'sm'}
Expand Down

0 comments on commit 519b519

Please sign in to comment.