fix: custom backend version suffix

This commit is contained in:
jialin
2025-10-30 19:08:45 +08:00
parent b733b3615d
commit d7ef64746c
19 changed files with 98 additions and 89 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import SealSelect from '@/components/seal-form/seal-select';
import useAppUtils from '@/hooks/use-app-utils';
import { Form } from 'antd';
import React from 'react';
import { deployFormKeyMap } from '../config';
import { DeployFormKeyMap } from '../config';
import { useCatalogFormContext, useFormContext } from '../config/form-context';
import { FormData } from '../config/types';
@@ -19,7 +19,7 @@ const CatalogForm: React.FC = () => {
} = catalogFormCtx;
if (
formKey !== deployFormKeyMap.catalog &&
formKey !== DeployFormKeyMap.CATALOG &&
!sizeOptions?.length &&
!quantizationOptions?.length
) {