diff --git a/docs/app.vue b/docs/app.vue index 759f07df38..df08622a62 100644 --- a/docs/app.vue +++ b/docs/app.vue @@ -47,7 +47,7 @@ const navigation = computed(() => { const pro = nav.value.find(item => item._path === '/pro') return [ - pro, + ...(pro ? [pro] : []), ...dev ] }