2022-11-28 16:38:45 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<a-result status="404" title="404" sub-title="抱歉,您访问的页面不存在。">
|
|
|
|
|
|
<template #extra>
|
|
|
|
|
|
<a-button type="primary" @click="refresh">刷新试试</a-button>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</a-result>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
2023-01-25 18:31:18 +08:00
|
|
|
|
<script setup>
|
2022-11-28 16:38:45 +08:00
|
|
|
|
import router from '../router/index';
|
|
|
|
|
|
|
2023-01-25 18:31:18 +08:00
|
|
|
|
const refresh = () => {
|
|
|
|
|
|
router.push('/')
|
2022-11-28 16:38:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
.container {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|