clean confirm modal

This commit is contained in:
les 2020-08-05 17:05:10 +02:00
parent 43a7a3901e
commit 4f035a3dce

View file

@ -8,13 +8,11 @@
@keydown.esc='cancel') @keydown.esc='cancel')
v-card v-card
v-card-title {{ title }} v-card-title {{ title }}
v-card-text.pa-4(v-show='!!message') {{ message }} v-card-text(v-show='!!message') {{ message }}
v-card-actions.pt-0 v-card-actions
v-spacer v-spacer
v-btn(color='primary darken-1' text v-btn(color='error' @click='cancel') {{$t('common.cancel')}}
@click='agree') {{$t('common.ok')}} v-btn(color='primary' @click='agree') {{$t('common.ok')}}
v-btn(color='secondary'
text @click='cancel') {{$t('common.cancel')}}
</template> </template>
<script> <script>
@ -42,7 +40,7 @@ export default {
title: null, title: null,
options: { options: {
color: 'danger', color: 'danger',
width: 350, width: 450,
zIndex: 500 zIndex: 500
} }
}), }),