BUG fix: NaN

This commit is contained in:
KUN1007 2023-12-02 14:53:42 +08:00
parent 98ec677b42
commit 19ac674874

View file

@ -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<TopicDetail>()