Skip to content

Commit

Permalink
Update ConfirmDialogDoc.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 11, 2022
1 parent aa51413 commit a112b4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/views/confirmdialog/ConfirmDialogDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ export default {

<pre v-code.script><code>
setup() {
const confirm = useConfirm();
const isVisible = ref(false);

const openDialog = () => {
Expand All @@ -383,7 +384,9 @@ setup() {
isVisible.value = false;
}
});
}
};

return { isVisible, openDialog};
}

</code></pre>
Expand Down

0 comments on commit a112b4c

Please sign in to comment.