k5web/src/views/not-found/index.vue
2024-01-27 15:45:48 +08:00

30 lines
700 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="content">
<a-result class="result" status="404" :subtitle="'找不到网页'"> </a-result>
<div class="operation-row">
<a-button key="back" type="primary" @click="back"> 返回 </a-button>
</div>
</div>
</template>
<script lang="ts" setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const back = () => {
// warning Go to the node that has the permission
router.push({ name: 'Workplace' });
};
</script>
<style scoped lang="less">
.content {
// padding-top: 100px;
position: absolute;
top: 50%;
left: 50%;
margin-left: -95px;
margin-top: -121px;
text-align: center;
}
</style>