init
This commit is contained in:
8
src/views/Error/403.vue
Normal file
8
src/views/Error/403.vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<template>
|
||||
<Error type="403" @error-click="push('/')" />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
defineOptions({ name: 'Error403' })
|
||||
|
||||
const { push } = useRouter()
|
||||
</script>
|
||||
7
src/views/Error/404.vue
Normal file
7
src/views/Error/404.vue
Normal file
@@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<Error @error-click="push('/')" />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
defineOptions({ name: 'Error404' })
|
||||
const { push } = useRouter()
|
||||
</script>
|
||||
7
src/views/Error/500.vue
Normal file
7
src/views/Error/500.vue
Normal file
@@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<Error type="500" @error-click="push('/')" />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
defineOptions({ name: 'Error500' })
|
||||
const { push } = useRouter()
|
||||
</script>
|
||||
Reference in New Issue
Block a user