Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion custom/VisionAction.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex items-end justify-start gap-2 cursor-pointer" @click="openDialog">
<div class="flex items-end justify-start gap-2 cursor-pointer">
<div class="flex items-center justify-center text-white bg-gradient-to-r h-[18px] from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-purple-300 dark:focus:ring-purple-800 font-medium rounded-md text-sm px-1 text-center">
AI
</div>
Expand Down Expand Up @@ -78,6 +78,10 @@ const props = defineProps<{
}
}>();

defineExpose({
click
});

const confirmDialog = ref(null);
const records = ref<any[]>([]);
const images = ref<any[]>([]);
Expand Down Expand Up @@ -745,4 +749,8 @@ async function findPreviewURLForImages() {
}
}

function click() {
openDialog();
}

</script>
Loading