Explorar o código

论坛详情返回论坛首页

canghailong hai 6 meses
pai
achega
2dc4482a24
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {