diff --git a/src/pages/chat-manager/chat-prompt/List.tsx b/src/pages/chat-manager/chat-prompt/List.tsx index 7775335..1d6eac0 100644 --- a/src/pages/chat-manager/chat-prompt/List.tsx +++ b/src/pages/chat-manager/chat-prompt/List.tsx @@ -113,8 +113,8 @@ export const List = () => { }, []); return (
-
- +
+
diff --git a/src/pages/panel/edit/List.tsx b/src/pages/panel/edit/List.tsx index e61c835..c25667e 100644 --- a/src/pages/panel/edit/List.tsx +++ b/src/pages/panel/edit/List.tsx @@ -7,7 +7,16 @@ import copy from 'copy-to-clipboard'; import { useNavigate } from 'react-router'; import { useToCodeEditor } from '@/pages/code-editor'; import { CardBlank } from '@/components/card/CardBlank'; -import { CloudUploadOutlined, DeleteOutlined, EditOutlined, ForkOutlined, GoldOutlined, PlusOutlined, ToolOutlined } from '@ant-design/icons'; +import { + CloudDownloadOutlined, + CloudUploadOutlined, + DeleteOutlined, + EditOutlined, + ForkOutlined, + GoldOutlined, + PlusOutlined, + ToolOutlined, +} from '@ant-design/icons'; import { isObjectNull } from '@/utils/is-null'; import { PublishFormModal } from './modal/PublishFormModal'; @@ -100,6 +109,7 @@ export const List = () => { getList: state.getList, loading: state.loading, setShowPublishModal: state.setShowPublishModal, + downloadData: state.downloadData, }; }), ); @@ -108,11 +118,10 @@ export const List = () => { }, []); return ( -
+
+
+ +
{promptStore.list.length > 0 && @@ -249,8 +251,9 @@ export const List = () => {