Files
cobaKeuangan/components/Master/modal.vue
T
2025-06-03 12:26:52 +07:00

40 lines
851 B
Vue

<script setup>
import { ref } from 'vue'
const props = defineProps({
title:{
type: String
},
dialog: {
type: Boolean
}
})
// const dialog = ref(false)
</script>
<template>
<div class="text-center pa-4">
<!-- <v-btn @click="dialog = true" class="ms-auto">
coba
</v-btn> -->
<v-dialog
v-model="props.dialog"
width="auto"
>
<v-card
max-width="400"
prepend-icon="mdi-update"
text="Your application will relaunch automatically after the update is complete."
title="Update in progress"
>
<template v-slot:actions>
<v-btn
class="ms-auto"
text="Ok"
@click="$emit('dialog', false)"
></v-btn>
</template>
</v-card>
</v-dialog>
</div>
</template>