添加 key

This commit is contained in:
Twilight 2024-08-04 02:13:06 +08:00
parent a94d07f05d
commit 8f61c4c2f9

View File

@ -1,9 +1,9 @@
<template>
<v-container>
<router-view />
<router-view :key="route.path" />
</v-container>
</template>
<script lang="ts" setup>
//
const route = useRoute();
</script>