vue-pro/yudao-ui-admin-vue3/src/views/Error/500.vue

15 lines
262 B
Vue
Raw Normal View History

2022-07-18 19:06:37 +08:00
<script setup lang="ts">
import { Error } from '@/components/Error'
import { useRouter } from 'vue-router'
const { push } = useRouter()
const errorClick = () => {
push('/')
}
</script>
<template>
<Error type="500" @error-click="errorClick" />
</template>