From fecfc2451939632317245f95cd11e80500bb14f9 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Thu, 30 Mar 2023 13:56:03 +0800 Subject: [PATCH] support export as json --- src/chatbox.tsx | 1 + src/settings.tsx | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 12b17b5..938b8e9 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -170,6 +170,7 @@ export default function ChatBOX(props: { setChatStore={setChatStore} show={showSettings} setShow={setShowSettings} + selectedChatStoreIndex={props.selectedChatIndex} />

void; show: boolean; setShow: StateUpdater; + selectedChatStoreIndex: number; }) => { if (!props.show) return

; const link = @@ -194,6 +195,43 @@ export default (props: { readOnly={true} {...props} /> +

+ + +