fix: some warn
parent
5df6addb78
commit
6e12fa4d78
@ -1,10 +1,6 @@
|
||||
<template>
|
||||
<Error type="403" @error-click="errorClick()" />
|
||||
<Error type="403" @error-click="push('/')" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const { push } = useRouter()
|
||||
|
||||
const errorClick = () => {
|
||||
push('/')
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
<template>
|
||||
<Error @error-click="errorClick()" />
|
||||
<Error @error-click="push('/')" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const { push } = useRouter()
|
||||
|
||||
const errorClick = () => {
|
||||
push('/')
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
<template>
|
||||
<Error type="500" @error-click="errorClick()" />
|
||||
<Error type="500" @error-click="push('/')" />
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const { push } = useRouter()
|
||||
|
||||
const errorClick = () => {
|
||||
push('/')
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue