fix Confirm title

This commit is contained in:
les 2020-11-13 00:12:14 +01:00
parent ba8b7028c7
commit c41c930f70

View file

@ -63,7 +63,7 @@ export default {
methods: {
open (message, options = {}) {
this.dialog = true
this.title = options.title || 'Confirm'
this.title = options.title || this.$t('common.confirm')
this.message = this.$t(message, options)
this.options = Object.assign(this.options, options)
return new Promise((resolve, reject) => {