confirm.vue (388B)
- <template>
- <div>
- <slot />
- <button
- class="btn button-default"
- :disabled="disabled"
- @click="confirm"
- >
- {{ $t('general.confirm') }}
- </button>
- <button
- class="btn button-default"
- :disabled="disabled"
- @click="cancel"
- >
- {{ $t('general.cancel') }}
- </button>
- </div>
- </template>
- <script src="./confirm.js">
- </script>