Ver Fonte

论坛详情返回论坛首页

canghailong há 6 meses atrás
pai
commit
2dc4482a24
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {