fix: miss model file path in cloning

This commit is contained in:
jialin
2026-02-11 11:05:43 +08:00
parent 3f90642726
commit 2ba94f7524
13 changed files with 129 additions and 52 deletions
+2
View File
@@ -9,6 +9,7 @@ import styled from 'styled-components';
import { backendTipsList } from '../config';
import { backendOptionsMap } from '../config/backend-parameters';
import { useFormContext } from '../config/form-context';
import useCompareEnvs from '../hooks/use-compare-envs';
const CaretDownWrapper = styled.span`
display: flex;
@@ -36,6 +37,7 @@ const BackendFields: React.FC = () => {
} = useFormContext();
const backend = Form.useWatch('backend', form);
const [showDeprecated, setShowDeprecated] = React.useState<boolean>(false);
const { openTips, handleToggleTips, handleCompareEnvs } = useCompareEnvs();
const handleBackendVersionOnChange = (value: any, option: any) => {
if (Object.keys(option.data?.env || {}).length > 0) {