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
@@ -0,0 +1,36 @@
import { WarningOutlined } from '@ant-design/icons';
import { Alert, Popover } from 'antd';
import React from 'react';
interface EnvsOverridePopoverProps {
open: boolean;
dataList: any[];
onToggle: (open: boolean) => void;
}
const EnvsOverridePopover: React.FC<EnvsOverridePopoverProps> = (props) => {
const { open, onToggle } = props;
return (
<Popover
content="override envs"
onOpenChange={onToggle}
trigger={'click'}
styles={{
container: {
width: '100%'
}
}}
>
<Alert
onClick={() => onToggle(!open)}
style={{ marginBlock: 16, cursor: 'pointer' }}
icon={<WarningOutlined />}
type="warning"
showIcon
title={'override envs'}
></Alert>
</Popover>
);
};
export default EnvsOverridePopover;