修改管理者數據分析數據

This commit is contained in:
2025-09-19 08:57:16 +08:00
parent 753e32ada2
commit 04f685ec0c
3 changed files with 445 additions and 157 deletions

View File

@@ -231,11 +231,6 @@ export function AdminLayout({ children, currentPage, onPageChange }: AdminLayout
<div>
<h2 className="text-2xl font-bold text-gray-900 mb-2"></h2>
<p className="text-gray-600 mb-4"></p>
{process.env.NODE_ENV === 'development' && (
<div className="text-xs text-gray-500 mb-4">
調試信息: 用戶={user ? '已登入' : '未登入'}, ={user?.role || '無'}
</div>
)}
<div className="space-x-3">
<Button onClick={() => {
if (isClient) {