Sfoglia il codice sorgente

论坛详情返回论坛首页

canghailong 6 mesi fa
parent
commit
2dc4482a24
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/forum/detail.vue

+ 1 - 1
src/views/forum/detail.vue

@@ -224,7 +224,7 @@
 	}
 	//回到首页
 	const goToHome = () => {
-		router.go(-1)
+		router.push('/forum')
 	}
 	onMounted(() => {
 		if (route.query.postId) {