Files
new_wms_admin/src/components/ErrorMessage/404.vue
2025-09-16 17:04:55 +08:00

21 lines
602 B
Vue
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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="not-container">
<img src="@/assets/images/404.png" class="not-img" alt="404" />
<div class="not-detail">
<h2>404</h2>
<h4>抱歉您访问的页面不存在~🤷🤷</h4>
<el-button type="primary" @click="router.push(HOME_URL)"> 返回首页 </el-button>
</div>
</div>
</template>
<script setup lang="ts" name="404">
import { HOME_URL } from "@/config";
import { useRouter } from "vue-router";
const router = useRouter();
</script>
<style scoped lang="scss">
@use "./index.scss";
</style>