perf: error page

This commit is contained in:
xiaoxian521
2022-03-04 11:10:02 +08:00
parent 3701161022
commit a6e819e169
13 changed files with 55 additions and 322 deletions

14
src/views/error/500.vue Normal file
View File

@@ -0,0 +1,14 @@
<script setup lang="ts">
import noServer from "/@/assets/status/500.svg?component";
</script>
<template>
<div class="flex justify-center items-center h-screen-sm">
<noServer />
<div class="ml-12">
<p class="font-medium text-4xl mb-4">403</p>
<p class="mb-4 text-gray-500">抱歉服务器出错了</p>
<el-button type="primary" @click="$router.push('/')">返回首页</el-button>
</div>
</div>
</template>