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"> |
||||
const { getMeta } = useMetas() |
||||
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> |
||||
|
||||
<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> |
||||
|
||||
<style scoped></style> |
||||
|
Loading…
Reference in new issue