feat(projects): 添加exception页面:403,404,500

This commit is contained in:
Soybean
2021-09-09 18:40:38 +08:00
parent ff4a09c452
commit d012c4ecf2
30 changed files with 7896 additions and 38 deletions

View File

@ -1,6 +1,17 @@
<template>
<div>404</div>
<div class="flex-center flex-col w-full h-full">
<exception-svg type="404" :color="theme.themeColor" />
<router-link to="/">
<n-button type="primary">回到首页</n-button>
</router-link>
</div>
</template>
<script lang="ts" setup></script>
<script lang="ts" setup>
import { NButton } from 'naive-ui';
import { ExceptionSvg } from '@/components';
import { useThemeStore } from '@/store';
const theme = useThemeStore();
</script>
<style scoped></style>