feat: paste multiple lines in parameters input

This commit is contained in:
jialin
2026-03-17 16:35:55 +08:00
committed by jialin
parent 556c4a434d
commit 4f02bcd40c
11 changed files with 76 additions and 58 deletions
@@ -311,7 +311,7 @@ const HFModelFile: React.FC<HFModelFileProps> = forwardRef((props, ref) => {
}}
options={modelFilesSortOptions.current}
size="middle"
style={{ width: '120px' }}
style={{ width: '120px', fontWeight: 400 }}
></BaseSelect>
</TitleWrapper>
{dataSource.loading && (
+3 -3
View File
@@ -8,7 +8,7 @@ import useUpdateChunkedList from '@/hooks/use-update-chunk-list';
import { useMemoizedFn } from 'ahooks';
import _ from 'lodash';
import qs from 'query-string';
import React, { useEffect, useRef, useState } from 'react';
import { useEffect, useRef, useState } from 'react';
import {
MODELS_API,
MODEL_INSTANCE_API,
@@ -18,7 +18,7 @@ import {
import TableList from './components/table-list';
import { ListItem } from './config/types';
const Models: React.FC<{ clusterId?: number }> = ({ clusterId }) => {
const Models = () => {
const { pagination, setPagination } = usePaginationStatus(
PaginationKey.Deployments
);
@@ -49,7 +49,7 @@ const Models: React.FC<{ clusterId?: number }> = ({ clusterId }) => {
page: 1,
perPage: 10,
search: '',
cluster_id: clusterId || 0,
cluster_id: 0,
categories: [],
state: '',
sort_by: '',