mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
18 lines
351 B
Vue
18 lines
351 B
Vue
<script lang="ts" setup>
|
|
|
|
const emits = defineEmits<{
|
|
(event: 'confirm', data: number): void
|
|
}>()
|
|
|
|
const props = defineProps<{ data: { contentText: string } }>();
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
TEST DIALOG CONTENT
|
|
<Button @click="emits('confirm', 123)">
|
|
{{ data.contentText }}
|
|
</Button>
|
|
</div>
|
|
</template> |