mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-06 15:36:21 +00:00
fix: phone
This commit is contained in:
@@ -7,11 +7,11 @@ import MyIcon from '@/components/Icon';
|
||||
const ToolMenu = ({ history }: { history: ChatItemType[] }) => {
|
||||
const { onExportChat } = useChatBox();
|
||||
const menuList = useRef([
|
||||
{
|
||||
icon: 'shareLight',
|
||||
label: '分享对话',
|
||||
onClick: () => {}
|
||||
},
|
||||
// {
|
||||
// icon: 'shareLight',
|
||||
// label: '分享对话',
|
||||
// onClick: () => {}
|
||||
// },
|
||||
{
|
||||
icon: 'apiLight',
|
||||
label: 'HTML导出',
|
||||
|
@@ -10,12 +10,15 @@ import { useShareChatStore, defaultHistory } from '@/store/shareChat';
|
||||
import SideBar from '@/components/SideBar';
|
||||
import { gptMessage2ChatType } from '@/utils/adapt';
|
||||
import { getErrText } from '@/utils/tools';
|
||||
|
||||
import dynamic from 'next/dynamic';
|
||||
import ChatBox, { type ComponentRef, type StartChatFnProps } from '@/components/ChatBox';
|
||||
import PageContainer from '@/components/PageContainer';
|
||||
import ChatHistorySlider from './components/ChatHistorySlider';
|
||||
import ChatHeader from './components/ChatHeader';
|
||||
|
||||
const ChatHistorySlider = dynamic(() => import('./components/ChatHistorySlider'), {
|
||||
ssr: false
|
||||
});
|
||||
|
||||
const ShareChat = ({ shareId, historyId }: { shareId: string; historyId: string }) => {
|
||||
const router = useRouter();
|
||||
const { toast } = useToast();
|
||||
|
Reference in New Issue
Block a user