多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
544 B

<script setup lang="ts">
import type { HookLogType, HookType } from 'nocodb-sdk'
import { onBeforeMount, useApi } from '#imports'
const props = defineProps<Props>()
const { api } = useApi()
const hookLogs = ref<HookLogType[]>([])
interface Props {
hook: HookType
}
async function loadHookLogList() {
hookLogs.value = (await api.dbTableWebhookLogs.list(props.hook.id!)).list!
}
onBeforeMount(async () => {
await loadHookLogList()
})
</script>
<template>
<div v-for="hookLog of hookLogs">
{{ hookLog.id }}
</div>
</template>