多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
571 B

<script setup lang="ts">
import useTabs from '~/composables/useTabs'
const route = useRoute()
const { loadProject, loadTables } = useProject(route.params.projectId as string)
const { addTab } = useTabs()
const { $state } = useNuxtApp()
if (!route.params.type) {
addTab({ type: 'auth', title: 'Team & Auth' })
}
await loadProject(route.params.projectId as string)
await loadTables()
$state.sidebarOpen.value = true
</script>
<template>
<NuxtLayout>
<template #sidebar>
<DashboardTreeView />
</template>
<NuxtPage />
</NuxtLayout>
</template>