mirror of
https://github.com/elk-zone/elk
synced 2024-11-24 07:06:08 +09:00
20 lines
342 B
Vue
20 lines
342 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: async (to) => {
|
|
const params = to.params
|
|
const id = params.status as string
|
|
const status = await fetchStatus(id)
|
|
return {
|
|
path: getStatusPath(status),
|
|
state: {
|
|
status: status as any,
|
|
},
|
|
}
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div />
|
|
</template>
|