1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00
elk/pages/status/[status].vue
2022-11-27 16:58:15 +08:00

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>