소스 검색

feat: fix

gemercheung 7 달 전
부모
커밋
93fffe59de
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/web/src/pages/index.vue

+ 2 - 2
packages/web/src/pages/index.vue

@@ -179,11 +179,11 @@ const onSlideChange = (index: number) => {
 
 const handleToDoc = (child: ArticleDetailType) => {
   const { articleId, categoryId } = child
-  console.log("handleToDoc", articleId, categoryId)
+  console.log("handleToDoc", child)
   if (articleId) {
     router.push({ path: `/showdoc/${articleId}` })
   } else {
-    // router.push({ path: '/showdoc', query: { cid: categoryId } })
+    router.push({ path: `/showcate/${categoryId}` })
   }
 }
 const handleToMore = (item: ArticleDetailType) => {