mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 23:40:07 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue