mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 16:21:53 +08:00
15 lines
262 B
Vue
15 lines
262 B
Vue
<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>
|