2024-11-13 12:41:33 +08:00
|
|
|
import { Card, Collapse, CollapseProps, Form } from 'antd';
|
2024-10-18 12:46:58 +08:00
|
|
|
import React, { useEffect } from 'react';
|
2024-11-13 12:41:33 +08:00
|
|
|
import SimpleOptions from './SimpleOptions';
|
|
|
|
|
import TrailOptions from './TrialOptions';
|
2024-10-18 12:46:58 +08:00
|
|
|
|
|
|
|
|
|
2024-11-13 12:41:33 +08:00
|
|
|
const DubSetting: React.FC = () => {
|
2024-10-18 12:46:58 +08:00
|
|
|
|
2024-11-13 12:41:33 +08:00
|
|
|
const onChange = (key: string | string[]) => {
|
|
|
|
|
};
|
2024-10-18 12:46:58 +08:00
|
|
|
|
2024-11-13 12:41:33 +08:00
|
|
|
const items: CollapseProps['items'] = [
|
|
|
|
|
{
|
|
|
|
|
key: 'simpleOptions',
|
|
|
|
|
label: '通用配置',
|
|
|
|
|
children: <SimpleOptions></SimpleOptions>,
|
|
|
|
|
}, {
|
|
|
|
|
key: 'trailOptions',
|
|
|
|
|
label: '试用设置',
|
|
|
|
|
children: <TrailOptions />,
|
2024-10-18 12:46:58 +08:00
|
|
|
}
|
2024-11-13 12:41:33 +08:00
|
|
|
];
|
2024-10-18 12:46:58 +08:00
|
|
|
|
|
|
|
|
return (
|
2024-11-13 12:41:33 +08:00
|
|
|
<Collapse items={items} bordered={false} ghost onChange={onChange} />
|
2024-10-18 12:46:58 +08:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-13 12:41:33 +08:00
|
|
|
export default DubSetting;
|