diff --git a/docs/app.vue b/docs/app.vue
index 9529aa5df..4a69df411 100644
--- a/docs/app.vue
+++ b/docs/app.vue
@@ -35,8 +35,8 @@ const { data: files } = useLazyFetch('/api/search.json', {
const { data: nav } = await useAsyncData('navigation', () => fetchContentNavigation())
const navigation = computed(() => {
- const main = nav.value.filter(item => item._path !== '/v1')
- const v1 = nav.value.find(item => item._path === '/v1')?.children
+ const main = nav.value?.filter(item => item._path !== '/v1')
+ const v1 = nav.value?.find(item => item._path === '/v1')?.children
return route.path.startsWith('/v1/') ? v1 : main
})
@@ -81,7 +81,7 @@ provide('navigation', navigation)
-
+
diff --git a/docs/editor/Monaco.vue b/docs/editor/Monaco.vue
index a808b9b1a..6a39964cc 100644
--- a/docs/editor/Monaco.vue
+++ b/docs/editor/Monaco.vue
@@ -1,4 +1,5 @@