Skip to content

Commit 5db4848

Browse files
committed
first endpoint
1 parent d329a02 commit 5db4848

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/SearchNav.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
-->
2727

2828
<script lang="ts">
29+
import { nextTick } from 'vue'
2930
import { obpResourceDocsKey } from '@/obp/keys'
3031
import { Search } from '@element-plus/icons-vue'
3132
import { inject, onBeforeMount, onMounted, reactive, ref, watch } from 'vue'
@@ -105,7 +106,8 @@ onBeforeMount(async () => {
105106
}
106107
})
107108
108-
onMounted(() => {
109+
onMounted(async () => {
110+
await nextTick()
109111
routeToFirstAPI()
110112
})
111113
@@ -118,6 +120,7 @@ watch(
118120
activeKeys.value = Object.keys(groups.value)
119121
sortedKeys.value = activeKeys.value.sort()
120122
await initializeAPICollections()
123+
await nextTick()
121124
routeToFirstAPI()
122125
countApis()
123126
}

0 commit comments

Comments
 (0)