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:
parent
22fcc1d68b
commit
e596953ada
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user