diff --git a/serve/frontend/src/pages/Auth.tsx b/serve/frontend/src/pages/Auth.tsx index b43a6c0..4f31a1a 100644 --- a/serve/frontend/src/pages/Auth.tsx +++ b/serve/frontend/src/pages/Auth.tsx @@ -20,7 +20,7 @@ import { cn } from '@/lib/cn' export function Auth() { const navigate = useNavigate() - const [username, setUsername] = useState('admin') + const [username, setUsername] = useState('') const [password, setPassword] = useState('') const [confirmPassword, setConfirmPassword] = useState('') // 仅设密码时用 const [showPwd, setShowPwd] = useState(false)