From 6cd0444bb0c7e7c6cc7ad875ed365d653ef714f7 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 21 May 2025 14:15:01 +0800 Subject: [PATCH] . --- chatdesk-ui/app/[locale]/layout.tsx | 74 +++++++++++++---------------- chatdesk-ui/pages/_document.tsx | 23 +++++++++ 2 files changed, 55 insertions(+), 42 deletions(-) create mode 100644 chatdesk-ui/pages/_document.tsx diff --git a/chatdesk-ui/app/[locale]/layout.tsx b/chatdesk-ui/app/[locale]/layout.tsx index 6fd7f3c..9d79312 100644 --- a/chatdesk-ui/app/[locale]/layout.tsx +++ b/chatdesk-ui/app/[locale]/layout.tsx @@ -122,48 +122,38 @@ export default async function RootLayout({ //console.log("[layout.tsx]..............current locale: ", {locale}); - return ( - + // return ( + // + // + // + // + // + //
+ // {data.session ? {children} : children} + //
+ //
+ //
+ // + // + // ) - - {/* 使用 next/script 注入 public/env.js 文件 */} -