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.
This commit is contained in:
三咲智子 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

View file

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