mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-08 05:20:05 +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="403" @error-click="errorClick" />
|
|
</template>
|