mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-10 02:00:22 +08:00
init
This commit is contained in:
29
src/views/error-page/404.vue
Normal file
29
src/views/error-page/404.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<!--------------------------------
|
||||
- @Author: Ronnie Zhang
|
||||
- @LastEditor: Ronnie Zhang
|
||||
- @LastEditTime: 2023/12/05 21:28:15
|
||||
- @Email: zclzone@outlook.com
|
||||
- Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
|
||||
--------------------------------->
|
||||
|
||||
<template>
|
||||
<CommonPage :show-header="false">
|
||||
<div class="wh-full flex">
|
||||
<n-result
|
||||
m-auto
|
||||
status="404"
|
||||
title="404 您访问的页面不存在"
|
||||
description="生活总归带点荒谬"
|
||||
size="large"
|
||||
>
|
||||
<template #footer>
|
||||
<n-button type="primary" ghost @click="replace('/')">返回首页</n-button>
|
||||
</template>
|
||||
</n-result>
|
||||
</div>
|
||||
</CommonPage>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const { replace } = useRouter()
|
||||
</script>
|
||||
Reference in New Issue
Block a user