fix search

This commit is contained in:
jxxghp
2023-08-10 08:12:11 +08:00
parent 497e0c6592
commit c9628379cf
3 changed files with 9 additions and 5 deletions
+4 -1
View File
@@ -10,6 +10,9 @@ import avatar1 from '@images/avatars/avatar-1.png'
const { global: globalTheme } = useTheme()
globalTheme.name.value = localStorage.getItem('theme') || 'light'
// 路由
const route = useRoute()
// 提示框
const $toast = useToast()
@@ -70,6 +73,6 @@ provide('accountInfo', accountInfo)
<template>
<VApp>
<RouterView />
<RouterView :key="route.fullPath + route.query" />
</VApp>
</template>