fix: some warn

This commit is contained in:
xingyuv
2023-02-09 15:29:29 +08:00
parent 5df6addb78
commit 6e12fa4d78
24 changed files with 81 additions and 117 deletions

View File

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

View File

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

View File

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