Files
LingXi-CRM/web/src/views/Error.vue
T
2023-01-25 18:31:18 +08:00

27 lines
574 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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>
<script setup>
import router from '../router/index';
const refresh = () => {
router.push('/')
}
</script>
<style scoped>
.container {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
</style>