From 4ec4eb3222e941807e7c6edccac2a0f18790861f Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Thu, 14 Sep 2023 00:25:04 +0800 Subject: [PATCH] BUG fix: router --- src/api/topic/types/aside.ts | 2 +- src/layout/KUNGalgameAPP.vue | 5 +++-- .../article/components/header/ArticleHeader.vue | 2 +- src/views/topic/aside/TopicMaster.vue | 2 -- src/views/topic/aside/TopicOtherTag.vue | 12 ++++++------ 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/api/topic/types/aside.ts b/src/api/topic/types/aside.ts index 21104fe5..68c8a821 100644 --- a/src/api/topic/types/aside.ts +++ b/src/api/topic/types/aside.ts @@ -9,7 +9,7 @@ export interface TopicAsideOtherTagRequestData { // 本话题的 tags tags: string[] // 当前话题的 tid,因为相同标签下的其它话题不包括本话题 - tid: string + tid: number } export interface TopicAsideMasterRequestData { diff --git a/src/layout/KUNGalgameAPP.vue b/src/layout/KUNGalgameAPP.vue index 8ff61691..f332d241 100644 --- a/src/layout/KUNGalgameAPP.vue +++ b/src/layout/KUNGalgameAPP.vue @@ -18,8 +18,9 @@ import KUNGalgameTopBar from '@/components/top-bar/KUNGalgameTopBar.vue' - + > --> + + diff --git a/src/views/Home/content/article/components/header/ArticleHeader.vue b/src/views/Home/content/article/components/header/ArticleHeader.vue index 6d1bfd28..eaed7a2f 100644 --- a/src/views/Home/content/article/components/header/ArticleHeader.vue +++ b/src/views/Home/content/article/components/header/ArticleHeader.vue @@ -3,7 +3,7 @@ import { Icon } from '@iconify/vue' import KUNGalgameSearchBox from '@/components/KUNGalgameSearchBox.vue' import SortTopic from './SortTopic.vue' -const category = `["Galgame"]` +const category = ['Galgame']