實作管理者儀表板、刪除不必要說明文件

This commit is contained in:
2025-09-09 15:28:22 +08:00
parent 3369e3fc0f
commit 22bbe64349
16 changed files with 27 additions and 2473 deletions

View File

@@ -15,7 +15,7 @@ export function AdminPanel() {
const renderPage = () => {
switch (currentPage) {
case "dashboard":
return <AdminDashboard />
return <AdminDashboard onPageChange={setCurrentPage} />
case "users":
return <UserManagement />
case "apps":
@@ -27,7 +27,7 @@ export function AdminPanel() {
case "settings":
return <SystemSettings />
default:
return <AdminDashboard />
return <AdminDashboard onPageChange={setCurrentPage} />
}
}