2025.11.28.22.40

This commit is contained in:
RUI
2025-11-28 22:44:54 +08:00
parent 0d73d0c63b
commit 21da21925e
71 changed files with 2924 additions and 1834 deletions

View File

@@ -1,5 +1,4 @@
import React, { useState, useEffect } from 'react';
import { useRouter } from 'next/router';
import { useState, useEffect } from 'react';
import AdminLayout from '@/components/admin/AdminLayout';
import {
Table,
@@ -18,7 +17,6 @@ import {
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from '@/components/ui/dialog';
import {
Select,
@@ -50,7 +48,6 @@ interface User {
}
export default function UserManagement() {
const router = useRouter();
const [users, setUsers] = useState<User[]>([]);
const [loading, setLoading] = useState(true);
const [search, setSearch] = useState('');
@@ -156,7 +153,7 @@ export default function UserManagement() {
</div>
</div>
<div className="rounded-md border bg-white">
<div className="rounded-md border bg-card">
<Table>
<TableHeader>
<TableRow>