diff --git a/src/views/topic/KUNGalgameTopicPage.vue b/src/views/topic/KUNGalgameTopicPage.vue index bf751071..ffdcfd15 100644 --- a/src/views/topic/KUNGalgameTopicPage.vue +++ b/src/views/topic/KUNGalgameTopicPage.vue @@ -50,7 +50,7 @@ const { const { isShowCommentPanelRid } = storeToRefs(useTempCommentStore()) const tid = computed(() => { - return Number(route.params.tid) + return parseInt(route.params.tid as string) }) const topicData = ref()