feat: dialog properties emit show
This commit is contained in:
parent
2784922557
commit
221f421991
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ const props = defineProps<{
|
|||
|
||||
const emit = defineEmits<{
|
||||
(e: 'submit', currWorkflow: WorkflowTemplate): void;
|
||||
(e: 'show'): void;
|
||||
}>();
|
||||
|
||||
const model = defineModel<boolean>({ required: true, default: false });
|
||||
|
|
@ -304,6 +305,7 @@ watch(
|
|||
v-model:modal="model"
|
||||
:submit="submit"
|
||||
:close="close"
|
||||
:show="() => $emit('show')"
|
||||
>
|
||||
<div class="column">
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue