|
|
@@ -40,7 +40,7 @@
|
|
|
class="btn btn-info"
|
|
|
@click="cancel"
|
|
|
>
|
|
|
- {{ cancelText }}
|
|
|
+ {{ $t('lang.modal.cancel') }}
|
|
|
</button>
|
|
|
<button
|
|
|
v-if="showOkButton"
|
|
|
@@ -48,7 +48,7 @@
|
|
|
class="btn btn-primary"
|
|
|
@click="ok"
|
|
|
>
|
|
|
- {{ okText }}
|
|
|
+ {{ $t('lang.modal.confirm') }}
|
|
|
</button>
|
|
|
<slot name="footer" />
|
|
|
</div>
|
|
|
@@ -122,9 +122,6 @@ export default {
|
|
|
|
|
|
data: function () {
|
|
|
return {
|
|
|
- okText: this.$t('lang.modal.confirm'),
|
|
|
- cancelText: this.$t('lang.modal.cancel'),
|
|
|
- closeText: this.$t('lang.modal.close'),
|
|
|
okClass: '',
|
|
|
cancelClass: '',
|
|
|
closeClass: '',
|