diff --git a/src/pages/llmodels/components/api-access-info.tsx b/src/pages/llmodels/components/api-access-info.tsx index 4ec45e0a..0f594e12 100644 --- a/src/pages/llmodels/components/api-access-info.tsx +++ b/src/pages/llmodels/components/api-access-info.tsx @@ -80,7 +80,7 @@ const ApiAccessInfo = ({ open, data, onClose }: ApiAccessInfoProps) => { top: '20%' }} title={intl.formatMessage({ id: 'models.table.button.apiAccessInfo' })} - width={510} + width={550} destroyOnClose closable={true} maskClosable={false} @@ -121,7 +121,7 @@ const ApiAccessInfo = ({ open, data, onClose }: ApiAccessInfoProps) => { {intl.formatMessage({ id: 'models.table.apiAccessInfo.endpoint' })} - + {endPoint} diff --git a/src/pages/llmodels/components/incompatiable-info.tsx b/src/pages/llmodels/components/incompatiable-info.tsx index 6593acf6..fe767613 100644 --- a/src/pages/llmodels/components/incompatiable-info.tsx +++ b/src/pages/llmodels/components/incompatiable-info.tsx @@ -1,4 +1,4 @@ -import OverlayScroller from '@/components/overlay-scroller'; +import { TooltipOverlayScroller } from '@/components/overlay-scroller'; import { LoadingOutlined, WarningOutlined } from '@ant-design/icons'; import { useIntl } from '@umijs/max'; import { Tag, Tooltip } from 'antd'; @@ -73,26 +73,24 @@ const IncompatiableInfo: React.FC = (props) => { return null; } return ( - - - - {intl.formatMessage({ id: 'models.form.incompatible' })} - - { -
    - {data?.compatibility_messages.map((item, index) => ( -
  • {item}
  • - ))} - {data?.scheduling_messages.map((item, index) => ( -
  • {item}
  • - ))} -
- } -
- + + + {intl.formatMessage({ id: 'models.form.incompatible' })} + + { +
    + {data?.compatibility_messages.map((item, index) => ( +
  • {item}
  • + ))} + {data?.scheduling_messages.map((item, index) => ( +
  • {item}
  • + ))} +
+ } +
} > = (props) => { color="warning" bordered={false} > -
+ ); };