feat: 增价crisp会话客服

This commit is contained in:
2025-08-26 08:59:37 -07:00
parent 6b8f828277
commit 632cb85ad3
5 changed files with 71 additions and 2 deletions
+10 -1
View File
@@ -1,3 +1,12 @@
import dynamic from 'next/dynamic';
export default async function MainLayout({ children }: { children: React.ReactNode }) {
return <>{children}</>;
const CrispWithNoSSR = dynamic(() => import('@/components/Crisp/Crisp'));
return (
<>
<CrispWithNoSSR />
{children}
</>
);
}