Эх сурвалжийг харах

论坛详情返回论坛首页

canghailong 6 сар өмнө
parent
commit
2dc4482a24

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

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