menu模块化

This commit is contained in:
fofolee
2022-04-12 18:15:13 +08:00
parent d3e2079f5a
commit 7264db7a5d
8 changed files with 204 additions and 147 deletions

View File

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