forked from Mirrors/elk
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>
|
</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" />
|
||||||
|
|
Loading…
Reference in a new issue