|
|
@ -260,6 +260,10 @@ function filterOption(input: string, option: Option) { |
|
|
|
return option.value.toUpperCase().includes(input.toUpperCase()) |
|
|
|
return option.value.toUpperCase().includes(input.toUpperCase()) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async function onEventChange() { |
|
|
|
|
|
|
|
// TODO |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async function loadPluginList() { |
|
|
|
async function loadPluginList() { |
|
|
|
try { |
|
|
|
try { |
|
|
|
const plugins = (await $api.plugin.list()).list as any |
|
|
|
const plugins = (await $api.plugin.list()).list as any |
|
|
@ -332,6 +336,11 @@ async function testWebhook() { |
|
|
|
await webhookTestRef.value.testWebhook() |
|
|
|
await webhookTestRef.value.testWebhook() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defineExpose({ |
|
|
|
|
|
|
|
hook, |
|
|
|
|
|
|
|
onEventChange, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
onMounted(() => { |
|
|
|
loadPluginList() |
|
|
|
loadPluginList() |
|
|
|
}) |
|
|
|
}) |
|
|
|