diff --git a/src/views/ViewerLayout.vue b/src/views/ViewerLayout.vue index 8c1eec3..884c440 100644 --- a/src/views/ViewerLayout.vue +++ b/src/views/ViewerLayout.vue @@ -10,7 +10,7 @@ import { FETCH_API } from '@/data/constants' import { useAccount } from '@/api/account' const route = useRoute() -const uId = computed(() => { +const id = computed(() => { return Number(route.params.id) }) const theme = useOsTheme() @@ -57,7 +57,7 @@ onMounted(async () => {