重命名前端目录

This commit is contained in:
yml2213
2026-07-07 19:55:18 +08:00
parent 8268a3b906
commit dbcb5a4979
182 changed files with 7019 additions and 7017 deletions
+20
View File
@@ -0,0 +1,20 @@
import { Button, Empty } from 'antd'
import { useNavigate } from 'react-router'
type NotFoundPageProps = {
title?: string
}
export default function NotFoundPage({ title = '页面不存在' }: NotFoundPageProps) {
const navigate = useNavigate()
return (
<main className="empty-page">
<Empty description={title}>
<Button type="primary" onClick={() => navigate('/admin/dashboard')}>
</Button>
</Empty>
</main>
)
}