This commit is contained in:
fofolee
2022-04-12 19:19:05 +08:00
parent 7264db7a5d
commit 8c5996bc93
7 changed files with 65 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
<template>
<router-view v-slot="{ Component }">
<component :ref="$route.name" :is="Component" />
<component ref="view" :is="Component" />
</router-view>
</template>