Skip to content

Commit 030ba5f

Browse files
committed
fix: add click expose
1 parent 8bad701 commit 030ba5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

custom/VisionAction.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ const props = defineProps<{
7878
}
7979
}>();
8080
81+
defineExpose({
82+
click
83+
});
84+
8185
const confirmDialog = ref(null);
8286
const records = ref<any[]>([]);
8387
const images = ref<any[]>([]);
@@ -745,4 +749,8 @@ async function findPreviewURLForImages() {
745749
}
746750
}
747751
752+
function click() {
753+
openDialog();
754+
}
755+
748756
</script>

0 commit comments

Comments
 (0)