fix(style): cluster state do not display
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import IconFont from '@/components/icon-font';
|
||||
import hotkeys from '@/config/hotkeys';
|
||||
import { SearchOutlined } from '@ant-design/icons';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Input } from 'antd';
|
||||
import React, { useRef } from 'react';
|
||||
@@ -61,6 +62,12 @@ const SearchInput: React.FC<{
|
||||
e.stopPropagation();
|
||||
}}
|
||||
allowClear
|
||||
suffix={
|
||||
<SearchOutlined
|
||||
className="font-size-16"
|
||||
style={{ color: 'var(--ant-color-text-placeholder)' }}
|
||||
/>
|
||||
}
|
||||
prefix={
|
||||
<IconFont
|
||||
className="font-size-16"
|
||||
|
||||
@@ -36,7 +36,7 @@ interface SearchInputProps {
|
||||
modelSource: string;
|
||||
isDownload?: boolean;
|
||||
gpuOptions?: any[];
|
||||
clusterId: number;
|
||||
clusterId?: number;
|
||||
setLoadingModel?: (flag: boolean) => void;
|
||||
onSourceChange?: (source: string) => void;
|
||||
onSelectModel: (model: any, manul?: boolean) => void;
|
||||
@@ -547,7 +547,7 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
|
||||
options={filterOptions}
|
||||
size="middle"
|
||||
placeholder={intl.formatMessage({ id: 'common.input.type' })}
|
||||
style={{ width: 150 }}
|
||||
style={{ width: 120 }}
|
||||
></BaseSelect>
|
||||
</span>
|
||||
<PaginationMain
|
||||
|
||||
Reference in New Issue
Block a user