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>
|