fix Confirm title
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
open (message, options = {}) {
|
open (message, options = {}) {
|
||||||
this.dialog = true
|
this.dialog = true
|
||||||
this.title = options.title || 'Confirm'
|
this.title = options.title || this.$t('common.confirm')
|
||||||
this.message = this.$t(message, options)
|
this.message = this.$t(message, options)
|
||||||
this.options = Object.assign(this.options, options)
|
this.options = Object.assign(this.options, options)
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user