mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-11 08:18:37 +01:00
new selfhosted version
This commit is contained in:
18
dashboard/components/dialog/TestDialog.vue
Normal file
18
dashboard/components/dialog/TestDialog.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user