fix: route params is empty

When navigating status not found page to /home, there will be a error
since `$route.params.account` is undefined, and
change it to `route` will be fixed.
zio/stable
三咲智子 2023-01-02 00:08:43 +08:00
parent 22fcc1d68b
commit e596953ada
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ onReactivated(() => {
</template> </template>
</div> </div>
<StatusNotFound v-else :account="$route.params.account" :status="id" /> <StatusNotFound v-else :account="route.params.account" :status="id" />
</template> </template>
<StatusCardSkeleton v-else border="b base" /> <StatusCardSkeleton v-else border="b base" />