mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 02:16:48 +00:00
27 lines
511 B
Vue
27 lines
511 B
Vue
<script lang="ts" setup>
|
|
const route = useRoute()
|
|
|
|
const { sharedBaseId, isUseThisTemplate, options } = useCopySharedBase()
|
|
|
|
const { forcedProjectId } = storeToRefs(useBase())
|
|
|
|
onMounted(() => {
|
|
isUseThisTemplate.value = false
|
|
|
|
options.value.includeData = true
|
|
options.value.includeViews = true
|
|
|
|
sharedBaseId.value = route.query.base as string
|
|
|
|
if (forcedProjectId?.value) forcedProjectId.value = undefined
|
|
|
|
navigateTo(`/`)
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div></div>
|
|
</template>
|
|
|
|
<style scoped></style>
|