BUG fix: NaN
This commit is contained in:
parent
98ec677b42
commit
19ac674874
|
@ -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>()
|
||||
|
|
Loading…
Reference in a new issue