Use pinia
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<main>
|
||||
<Transition>
|
||||
<KeepAlive>
|
||||
<Map map-key="main" :selectedRoutesId="[router.params.id]" />
|
||||
</KeepAlive>
|
||||
</Transition>
|
||||
|
||||
<SidebarContainer :selectedRoutesId="[router.params.id]" />
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const router = useRoute();
|
||||
</script>
|
||||
@@ -1,6 +0,0 @@
|
||||
<template>
|
||||
<main>
|
||||
<SidebarContainer />
|
||||
<Map />
|
||||
</main>
|
||||
</template>
|
||||
Reference in New Issue
Block a user