feat: 修改为服务端渲染、解决跳转问题

This commit is contained in:
Tim
2025-08-08 13:22:42 +08:00
parent 6554e66a4e
commit 65ae660486
4 changed files with 36 additions and 28 deletions

View File

@@ -76,7 +76,9 @@ export default {
const router = useRouter()
const goToHome = () => {
router.push('/')
router.push('/').then(() => {
window.location.reload()
})
}
const search = () => {
showSearch.value = true