fix route

This commit is contained in:
jxxghp
2023-08-04 21:35:50 +08:00
parent de007bdee5
commit 03081a7018
+1 -4
View File
@@ -5,9 +5,6 @@ import type { User } from './api/types'
import store from './store' import store from './store'
import avatar1 from '@images/avatars/avatar-1.png' import avatar1 from '@images/avatars/avatar-1.png'
// 路由
const route = useRoute()
// 提示框 // 提示框
const $toast = useToast() const $toast = useToast()
@@ -68,6 +65,6 @@ provide('accountInfo', accountInfo)
<template> <template>
<VApp> <VApp>
<RouterView :key="route.fullPath" /> <RouterView />
</VApp> </VApp>
</template> </template>