fix: 去除share

This commit is contained in:
archer
2023-04-08 11:51:51 +08:00
parent e1c7503611
commit 33154a9c19
9 changed files with 10 additions and 44 deletions

View File

@@ -281,7 +281,7 @@ const SlideBar = ({
mr={3}
onClick={async () => {
copyData(
`${location.origin}/chat?chatId=${await getChatSiteId(modelId, true)}`,
`${location.origin}/chat?chatId=${await getChatSiteId(modelId)}`,
'已复制分享链接'
);
onCloseShare();

View File

@@ -351,6 +351,7 @@ const Chat = ({ chatId }: { chatId: string }) => {
isClosable: true,
duration: 5000
});
router.push('/model/list');
},
onSettled() {
setLoading(false);