|
|
@ -35,7 +35,7 @@ const { addTab, updateTab } = useTabs() |
|
|
|
|
|
|
|
|
|
|
|
const { $api, $e } = useNuxtApp() |
|
|
|
const { $api, $e } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
const { bases, tables, loadTables, isSharedBase } = useProject() |
|
|
|
const { project, loadProject, bases, tables, loadTables, isSharedBase } = useProject() |
|
|
|
|
|
|
|
|
|
|
|
const { activeTab } = useTabs() |
|
|
|
const { activeTab } = useTabs() |
|
|
|
|
|
|
|
|
|
|
@ -324,6 +324,12 @@ const setIcon = async (icon: string, table: TableType) => { |
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(async () => { |
|
|
|
|
|
|
|
if (!project.value?.id) { |
|
|
|
|
|
|
|
await loadProject() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|