mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
1 changed files with 8 additions and 2 deletions
@ -1,12 +1,18 @@ |
|||||||
<script setup lang="ts"> |
<script setup lang="ts"> |
||||||
const { getMeta } = useMetas() |
const { getMeta } = useMetas() |
||||||
const route = useRoute() |
const route = useRoute() |
||||||
|
const loading = ref(true) |
||||||
|
|
||||||
await getMeta(route.params.title as string, true) |
getMeta(route.params.title as string, true).finally(() => { |
||||||
|
loading.value = false |
||||||
|
}) |
||||||
</script> |
</script> |
||||||
|
|
||||||
<template> |
<template> |
||||||
<TabsSmartsheet /> |
<div v-if="loading" class="flex items-center justify-center h-full w-full"> |
||||||
|
<a-spin size="large" /> |
||||||
|
</div> |
||||||
|
<TabsSmartsheet v-else /> |
||||||
</template> |
</template> |
||||||
|
|
||||||
<style scoped></style> |
<style scoped></style> |
||||||
|
Loading…
Reference in new issue