temp: 暂存更新
This commit is contained in:
@@ -343,7 +343,7 @@ export const AiMoudle = () => {
|
||||
};
|
||||
});
|
||||
return (
|
||||
<div className={clsx('w-[600px] flex-shrink-0 bg-gray-100 border-l-2 shadow-lg flex flex-col', !aiStore?.open && 'hidden')}>
|
||||
<div className={clsx('w-full h-full flex-shrink-0 bg-gray-100 border-l-2 shadow-lg flex flex-col', !aiStore?.open && 'hidden')}>
|
||||
<div className='flex justify-between p-2 border bg-white'>
|
||||
<div className='flex gap-4'>
|
||||
<Button className='position ml-4 ' onClick={() => aiStore.setOpen(false)} icon={<CloseOutlined />}></Button>
|
||||
|
||||
@@ -1,11 +1,21 @@
|
||||
import { Button, Input, message, Modal, Table } from 'antd';
|
||||
import { Button, Input, message, Modal, Table, Tooltip } from 'antd';
|
||||
import { Fragment, useEffect, useMemo, useState } from 'react';
|
||||
import { usePromptStore } from '../store/prompt';
|
||||
import { useShallow } from 'zustand/react/shallow';
|
||||
import { Form } from 'antd';
|
||||
import copy from 'copy-to-clipboard';
|
||||
import { useNewNavigate } from '@/modules';
|
||||
import { EditOutlined, SettingOutlined, LinkOutlined, SaveOutlined, DeleteOutlined, LeftOutlined, CaretRightOutlined, PlusOutlined } from '@ant-design/icons';
|
||||
import {
|
||||
EditOutlined,
|
||||
SettingOutlined,
|
||||
LinkOutlined,
|
||||
SaveOutlined,
|
||||
DeleteOutlined,
|
||||
LeftOutlined,
|
||||
CaretRightOutlined,
|
||||
PlusOutlined,
|
||||
ExportOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import clsx from 'clsx';
|
||||
import { TextArea } from '@/pages/container/components/TextArea';
|
||||
|
||||
@@ -256,6 +266,14 @@ export const List = () => {
|
||||
message.error('Not implemented');
|
||||
}}
|
||||
/>
|
||||
<Tooltip title='Export Config'>
|
||||
<Button
|
||||
icon={<ExportOutlined />}
|
||||
onClick={() => {
|
||||
message.error('Not implemented');
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
</Button.Group>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user