xingyu4j 8bc6d6b5c2 Revert "perf: aotu components"
This reverts commit daa9d01adf2116d1afb33833247fb145332d8de8.
2022-11-17 17:11:24 +08:00

15 lines
251 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 @error-click="errorClick" />
</template>