style: usage download button

This commit is contained in:
jialin
2025-06-17 16:17:26 +08:00
parent 0133524f09
commit 0805d70c07
5 changed files with 32 additions and 34 deletions
@@ -196,8 +196,8 @@ const AddModal: FC<AddModalProps> = (props) => {
* unitl the evaluate result is ready
*/
form.current?.setFieldsValue?.({
file_name: item.fakeName,
...modelInfo,
file_name: item.fakeName,
categories: getCategory(item)
});
@@ -233,9 +233,9 @@ const AddModal: FC<AddModalProps> = (props) => {
form.current?.getFieldValue?.('backend_parameters') || [];
form.current?.setFieldsValue?.({
file_name: item.fakeName,
...defaultSpec,
...modelInfo,
file_name: item.fakeName,
backend_parameters:
formBackendParameters.length > 0
? formBackendParameters