gemercheung 6 ay önce
ebeveyn
işleme
93fffe59de
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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 handleToDoc = (child: ArticleDetailType) => {
   const { articleId, categoryId } = child
   const { articleId, categoryId } = child
-  console.log("handleToDoc", articleId, categoryId)
+  console.log("handleToDoc", child)
   if (articleId) {
   if (articleId) {
     router.push({ path: `/showdoc/${articleId}` })
     router.push({ path: `/showdoc/${articleId}` })
   } else {
   } else {
-    // router.push({ path: '/showdoc', query: { cid: categoryId } })
+    router.push({ path: `/showcate/${categoryId}` })
   }
   }
 }
 }
 const handleToMore = (item: ArticleDetailType) => {
 const handleToMore = (item: ArticleDetailType) => {