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
parent
22fcc1d68b
commit
e596953ada
|
@ -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 New Issue