fix: some warn
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user