forked from Mirrors/elk
19 lines
326 B
Vue
19 lines
326 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,
|
|
},
|
|
}
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div />
|
|
</template>
|