给所有组件添加name属性预防未知bug!!!

This commit is contained in:
shizhong
2023-06-13 21:05:25 +08:00
parent 1e52823524
commit 6f266fb967
82 changed files with 551 additions and 1800 deletions

View File

@ -1,6 +1,6 @@
<template>
<Error type="403" @error-click="push('/')" />
</template>
<script setup lang="ts">
<script lang="ts" name="Error403" setup>
const { push } = useRouter()
</script>

View File

@ -1,6 +1,6 @@
<template>
<Error @error-click="push('/')" />
</template>
<script setup lang="ts">
<script lang="ts" name="Error404" setup>
const { push } = useRouter()
</script>

View File

@ -1,6 +1,6 @@
<template>
<Error type="500" @error-click="push('/')" />
</template>
<script setup lang="ts">
<script lang="ts" name="Error500" setup>
const { push } = useRouter()
</script>