子仓库提交

This commit is contained in:
2025-11-10 09:19:56 +08:00
parent 5b93b6ff7d
commit caae0492ee
733 changed files with 141413 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
'use client'
import { useEffect } from 'react'
export default function AgriculturalMachineryError({
error,
reset,
}: {
error: Error & { digest?: string }
reset: () => void
}) {
useEffect(() => {
console.error('农机管理系统错误:', error)
}, [error])
return (
<div className="min-h-screen bg-gray-50 flex items-center justify-center">
<div className="text-center">
<div className="text-6xl mb-4">🚙</div>
<h2 className="text-2xl font-bold text-red-800 mb-4">
</h2>
<p className="text-red-600 mb-6">
{error.message || '未知系统错误'}
</p>
<button
onClick={reset}
className="px-6 py-3 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors"
>
</button>
</div>
</div>
)
}