Commit 0145ddfc authored by “yiyousong”'s avatar “yiyousong”

pref:修改404页面

parent 9e9169c4
<template>
<div style="text-align: center">NotFoundPage</div>
<div class="view">
<a-result
status="404"
title="404"
sub-title="Sorry, the page you visited does not exist."
>
<template #extra>
<a-button type="primary" @click="$router.push('/home')">
返回首页
</a-button>
</template>
</a-result>
</div>
</template>
<script>
......@@ -17,4 +29,11 @@ export default {
</script>
<style lang="less" scoped>
.view {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment