feat: 架构调整

This commit is contained in:
2026-07-23 11:27:33 +08:00
parent 6f37264047
commit 3b5a908ee4
25 changed files with 653 additions and 245 deletions
+32
View File
@@ -0,0 +1,32 @@
import { defineComponent } from 'vue';
import { useRouter } from 'vue-router';
import { Button, Result } from 'ant-design-vue';
/**
* 404 页面
*/
export default defineComponent({
name: 'NotFound',
setup() {
const router = useRouter();
const goHome = () => router.push('/');
return () => (
<Result
status="404"
title="404"
subTitle="抱歉,你访问的页面不存在。"
style={{ paddingTop: '120px' }}
>
{{
extra: () => (
<Button type="primary" onClick={goHome}>
</Button>
),
}}
</Result>
);
},
});